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

Jacques Le Roux commented on OFBIZ-10460:
-----------------------------------------

After Deepak's report at OFBIZ-10471, I reverted both at r1835616

> setLocaleFromBrowser requires authentification
> ----------------------------------------------
>
>                 Key: OFBIZ-10460
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10460
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Mathieu Lirzin
>            Assignee: Jacques Le Roux
>            Priority: Minor
>             Fix For: 17.12.01
>
>
> The setLocaleFromBrowser request map defined in {{common-controller.xml}} has 
> an attribute of {{auth=false}}
> {code:xml}
> <request-map uri="setLocaleFromBrowser">
>     <security https="false" auth="false"/>
>     <event type="service" invoke="setLocaleFromBrowser"/>
>     <response name="success" type="request" value="json"/>
>     <response name="error" type="request" value="json"/>
> </request-map>
> {code}
> while the service associated with it in 
> {{framework/common/servicedef/services.xml}} has an attribute of 
> {{auth=true}}.
> {code:xml}
> <service name="setLocaleFromBrowser" engine="groovy" 
> location="component://common/groovyScripts/SetLocaleFromBrowser.groovy" 
> invoke="setLocaleFromBrowser" auth="true">
>     <description>Set locale from browser.</description>
>     <attribute name="localeName" type="String" mode="IN" optional="true"/>
> </service>
> {code}
> It seems like a (minor) bug.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to