-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

my suggestion is you keep a pure svn checkout that you can go look when
it says something like
not found in class'org.ofbiz.base.util.StringUtil$StringWrapper
and see the history or just go into the class and figure it out.

My development is also taken a different direction from the trunk
so I am continually having to run compares against the SVN (my local
copy) to see what is what.
With a lot of changes they make it is not as simple as to  just put in
commit, since it may depend on previous commits.

There was a discussion about making things with VerbNoun
looks like this one is changed to wrapString and there is a
makeStringWrapper that is calls

Enjoy the world of chasing your tail (meant to be humorous).




madppiper sent the following on 3/15/2009 2:51 AM:
> hmm,
> 
> well I applied the Revision as a patch, meaning that I downloaded each file
> and replaced my own and followed the instructions on which other files i had
> to remove... Problems arose, however, on compiling and I ended up having to
> add the ESAPI packages as well and change the StringUtil Class which
> contains the StringWrapper.
> 
>>From there I now receive the same bugging error that initially forced me to
> apply a patch instead of doing a clean update to the most current revision.
> 
> Within my groovy script I try to use the checkLoginUrl, but without the
> "/checklogin/" location, which is why I am doing a simple String replace: 
> 
> context.get("checkLoginUrl").replace("/checkLogin/","")
> 
> 
> This concept used to work with the previous versions of the StringUtil
> class, but now, I receive the following error:
> 
> "                             org.ofbiz.widget.screen.ScreenRenderException: 
> Error rendering screen
> [component://brandsparadise/widget/BrandsparadiseScreens.xml#main]:
> org.ofbiz.base.util.GeneralException: Error running BSH script at location
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
> running BSH script at
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
> [17]: Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
> in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
> .replace ( "/checkLogin/" , "" ) 
>  (Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper')) (Error
> running BSH script at location
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
> running BSH script at
> [component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
> [17]: Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
> in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
> .replace ( "/checkLogin/" , "" ) 
>  (Sourced file:
> component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
> method invocation: Method replace( java.lang.String, java.lang.String ) not
> found in class'org.ofbiz.base.util.StringUtil$StringWrapper')))
> " 
> 
> 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD4DBQFJvNvrrP3NbaWWqE4RApy/AJ9WEMMufXayRxayt72fTbWZjZ0NXgCY/GVZ
M5g+2QU8HLILTC/kVqdjSg==
=vETt
-----END PGP SIGNATURE-----

Reply via email to