Re: svn commit: r730975 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r730975 - /ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml

hans_bakker
Jacques....please have a look at the entity WebsiteContent is that a
"date" or a "timestamp" for the field fromDate?

Regards,
Hans


On Sat, 2009-01-03 at 11:28 +0000, [hidden email] wrote:

> Author: jleroux
> Date: Sat Jan  3 03:28:40 2009
> New Revision: 730975
>
> URL: http://svn.apache.org/viewvc?rev=730975&view=rev
> Log:
> Revert to now-date-to-env (was commited r730962) since it generates a Date not a Timestamp
>
> Modified:
>     ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
>
> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
> URL: http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml?rev=730975&r1=730974&r2=730975&view=diff
> ==============================================================================
> --- ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml (original)
> +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml Sat Jan  3 03:28:40 2009
> @@ -48,7 +48,7 @@
>          <set-pk-fields value-field="newEntity" map="parameters"/>
>          <set-nonpk-fields value-field="newEntity" map="parameters"/>
>          <if-empty field="newEntity.fromDate">
> -            <now-timestamp field="nowTimestamp"/>
> +            <now-date-to-env field="nowTimestamp"/>
>              <set field="newEntity.fromDate" from-field="nowTimestamp"/>
>          </if-empty>
>          <create-value value-field="newEntity"/>
>
>
--
Antwebsystems.com: Quality OFBiz services for competitive prices

Reply | Threaded
Open this post in threaded view
|

Re: svn commit: r730975 -/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml

Jacques Le Roux
Administrator
You are right Hans,

It's a timestamp, WebSiteServices.xml was wrong before
Fixed in revision 731005.

Thanks

Jacques

From: "Hans Bakker" <[hidden email]>

> Jacques....please have a look at the entity WebsiteContent is that a
> "date" or a "timestamp" for the field fromDate?
>
> Regards,
> Hans
>
>
> On Sat, 2009-01-03 at 11:28 +0000, [hidden email] wrote:
>> Author: jleroux
>> Date: Sat Jan  3 03:28:40 2009
>> New Revision: 730975
>>
>> URL: http://svn.apache.org/viewvc?rev=730975&view=rev
>> Log:
>> Revert to now-date-to-env (was commited r730962) since it generates a Date not a Timestamp
>>
>> Modified:
>>     ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
>>
>> Modified: ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml
>> URL:
>> http://svn.apache.org/viewvc/ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml?rev=730975&r1=730974&r2=730975&view=diff
>> ==============================================================================
>> --- ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml (original)
>> +++ ofbiz/trunk/applications/content/script/org/ofbiz/content/website/WebSiteServices.xml Sat Jan  3 03:28:40 2009
>> @@ -48,7 +48,7 @@
>>          <set-pk-fields value-field="newEntity" map="parameters"/>
>>          <set-nonpk-fields value-field="newEntity" map="parameters"/>
>>          <if-empty field="newEntity.fromDate">
>> -            <now-timestamp field="nowTimestamp"/>
>> +            <now-date-to-env field="nowTimestamp"/>
>>              <set field="newEntity.fromDate" from-field="nowTimestamp"/>
>>          </if-empty>
>>          <create-value value-field="newEntity"/>
>>
>>
> --
> Antwebsystems.com: Quality OFBiz services for competitive prices
>