ofbiz-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From BJ Freeman <bjf...@free-man.net>
Subject Re: UTF-8 input
Date Wed, 16 Jun 2010 08:17:40 GMT
that indeed strange.
I just looked at the revision history for ContextFilter.java
and don't see see any revision 951118 or 951119
it does show 939941` on 5/1/10 next one is 9539918 on 6/11/10
and the code shows
         // set the webSiteId in the session
         httpRequest.getSession().setAttribute("webSiteId", 
config.getServletContext().getAttribute("webSiteId"));


V.S. sent the following on 6/16/2010 12:45 AM:


=========================
BJ Freeman
http://bjfreeman.elance.com
Strategic Power Office with Supplier Automation  <http://www.businessesnetwork.com/automation/viewforum.php?f=52>
Specialtymarket.com  <http://www.specialtymarket.com/>

Systems Integrator-- Glad to Assist

Chat  Y! messenger: bjfr33man
Linkedin 
<http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro>

>
> Very strange. An error in revision 951119. That is
> svn  co -r 951118 http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
> works correctly, and
> svn  co -r 951119 http://svn.apache.org/repos/asf/ofbiz/trunk ofbiz
> it is wrong.
> I do not understand, why. There only one change which like should not so to
> influence.
>
> ofbiz/trunk/framework/webapp/src/org/ofbiz/webapp/control/ContextFilter.java
> -        httpRequest.getSession().setAttribute("webSiteId",
> config.getServletContext().getAttribute("webSiteId"));
> +        httpRequest.getSession().setAttribute("webSiteId",
> WebSiteWorker.getWebSiteId(httpRequest));
>
> Now I have updated to current trunk revision  and have manually edited
> ContextFilter.java. All works correctly.

Mime
View raw message