You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ofbiz.apache.org by "Deepak Dixit (JIRA)" <ji...@apache.org> on 2018/07/11 05:37:00 UTC

[jira] [Commented] (OFBIZ-10471) setLocaleFromBrowser should only called once by session

    [ https://issues.apache.org/jira/browse/OFBIZ-10471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16539585#comment-16539585 ] 

Deepak Dixit commented on OFBIZ-10471:
--------------------------------------

Hi Jacques,

I am getting a blank page after login from webtools, I am able to generate it locally but its random

I am not sure if its related to OFBIZ-10460 or current ticket. 

Please refer attached screenshot. 

> 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
(v7.6.3#76005)