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, [email protected] 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 via email to