Jacques Le Roux commented on OFBIZ-10471:

Thanks Deepak,

I crossed that too when directly going to catalog/control/setLocaleFromBrowser 
being logged in or not. Since this should not be called manually I let it go. 
But indeed webtools is peculiar (we have also OFBIZ-9379). I will revert 
OFBIZ-10460. It's inconsistent for this reason and better to keep the service 

> setLocaleFromBrowser should only called once by session
> -------------------------------------------------------
>                 Key: OFBIZ-10471
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10471
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Jacques Le Roux
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: Upcoming Branch
>         Attachments: Screen Shot 2018-07-11 at 11.03.02 AM.png
> As Deepak mentioned in r1816537, currenlty setLocaleFromBrowser is called 
> each time a page is refreshed.
> We can use 
> [sessionStorage|https://developer.mozilla.org/en-US/docs/Web/API/Window/sessionStorage]
>  to have it called only once by session

This message was sent by Atlassian JIRA

Reply via email to