On 16/12/2009, at 11:35 AM, Adam Heath wrote:
Scott Gray wrote:On 16/12/2009, at 11:28 AM, Adam Heath wrote:Adam Heath wrote:Scott Gray wrote:Any progress on this? If not I think we should consider reverting, not being able to work on groovy scripts at runtime is a bit of pain fordevelopment.Does that mean you've confirmed it then?In other words, what steps do you take to make this happen, exactly?Load any page that contains a groovy script, make a change to that script and then reload the page. The original script is used and anychanges are not reflected even though the OFBiz cache no longer holds anentry.Those aren't exact steps. By exact, I mean the list of urls you hit, then the script you edit.
Okay here we go: 1. hit this url: https://localhost:8443/ecommerce/control/main2. open this script: specialpurpose/ecommerce/widget/ EcommerceSetup.groovy 3. add this to the bottom: Debug.log("If you can see this then Adam has been kind enough to fix the groovy caching bug.");
4. hit the url from step #1 again5. check the logs for the message from step #3, if it ain't there then you've successfully reproduced the bug
smime.p7s
Description: S/MIME cryptographic signature