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

setLocaleFromBrowser requires authentification

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Not A Problem
    • Affects Version/s: None
    • Fix Version/s: 17.12.01
    • Component/s: None
    • Labels:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: