It's easy Adrian,

Just revert one of those commit and try without my change, you will see the bug. To find one of them,simply look for ObjectType.simpleTypeConvert in commits ML on Nabble (done by me last 3 months)

http://www.nabble.com/forum/Search.jtp?query=ObjectType.simpleTypeConvert+groovy+jleroux&local=y&forum=15587&daterange=4&startdate=&enddate=

The simpler/clearer being
http://www.nabble.com/svn-commit%3A-r680698----ofbiz-trunk-applications-product-webapp-facility-WEB-INF-actions-facility-ViewFacilityInventoryByProduct.groovy-td18712849.html#a18712849

Jacques

From: "Adrian Crum" <[EMAIL PROTECTED]>
Jacques,

I'm not clear on the problem you are trying to describe. Could you be more specific about what the expected behavior is and how it is different than what is happening?

-Adrian

[EMAIL PROTECTED] wrote:
Author: jleroux
Date: Thu Aug 28 03:02:47 2008
New Revision: 689772

URL: http://svn.apache.org/viewvc?rev=689772&view=rev
Log:
A patch from Mridul Pathak "Added support for uploading additional Product Views (images)" (https://issues.apache.org/jira/browse/OFBIZ-1930) - OFBIZ-1930

I fixed an, unrelated to patch, problem in EditProductContentContent.groovy. This is not the 1st time I cross this type of issue. I checked it does not appear on demo server and I guess it was not appearing with bsh before. I'm not sure of its origin but it seems related to my configuration. I use, from my machine default, "Central European Summer Time" and demo server uses "Central Daylight Time". But I can't see why it affects my machine and not the demo server : there is no origin here (maybe GMT, but obviously it's not the case)
The lines I added are (+ import)
} else {
    fromDate = ObjectType.simpleTypeConvert(fromDate, "Timestamp", null, null, 
false)    }
(I intentionnaly let the line without semi-colon as it's not mandatory in 
Groovy)


Reply via email to