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

Inconsistent behaviour of ServiceDispatcher.checkAuth

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 16.11.06
    • framework
    • None

    Description

      We have checkAuth method in service dispatcher class, this method performs multiple auth related check.

      if all checks passed it call the modelService.makeValid method to prepare service context (line#960) but this code executed only when service definition has a permission service call.

      If service does not have any permission service call then it does not call the modelService.makeValid and this may cause the service validation issue unknown parameter found.

      Ideally modelService.makeValid should call irrespective to permission service check.

      Attachments

        1. OFBIZ-10712.patch
          1.0 kB
          Deepak Dixit

        Issue Links

          Activity

            People

              deepak Deepak Dixit
              deepak Deepak Dixit
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: