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