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

[jira] [Updated] (OFBIZ-10460) setLocaleFromBrowser requires authentification

     [ https://issues.apache.org/jira/browse/OFBIZ-10460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mathieu Lirzin updated OFBIZ-10460:
-----------------------------------
    Fix Version/s:     (was: Upcoming Branch)

> setLocaleFromBrowser requires authentification
> ----------------------------------------------
>
>                 Key: OFBIZ-10460
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-10460
>             Project: OFBiz
>          Issue Type: Bug
>            Reporter: Mathieu Lirzin
>            Priority: Minor
>
> 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)