Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-10460

setLocaleFromBrowser requires authentification

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Not A Problem
    • None
    • 17.12.01
    • None
    • None

    Description

      The setLocaleFromBrowser request map defined in common-controller.xml has an attribute of auth=false

      <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>
      

      while the service associated with it in framework/common/servicedef/services.xml has an attribute of auth=true.

      <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>
      

      It seems like a (minor) bug.

      Attachments

        Issue Links

          Activity

            People

              jleroux Jacques Le Roux
              mthl Mathieu Lirzin (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: