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

Multitenant delegator assignment not working correctly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Cannot Reproduce
    • Trunk
    • None
    • ALL APPLICATIONS, framework
    • multitenantuse = "Y"
      Tenant with no Domain setting or Tenant using different domain for backend applications

    • Bug Crush Event - 21/2/2015

    Description

      This issue arises when Multitenancy is in use. It arises only on backend applications (as typically the frontend store applications will use a context variable defined in web.xml to determin the delegator to be used (ie. the database to use for data lookups etc).

      The issue manifests as follows:

      • the wrong data is read for standard backoffice displays (e.g. orders, accounts, etc.); it is the dataa from the default datasource, not the tenant´s data source
      • in the backend apps certain functions require authentication (checked dynamically) and this will fail when the default delegator is used since the tenant's user accounts will differ (if not in name then in password hashes) from the default datasource – this leads to authentication warnings all over the place
      • one will not be able to mainpulate data of course, either

      Attachments

        Issue Links

          Activity

            People

              mridulpathak Mridul Pathak
              c_schinzer Carsten Schinzer
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 168h
                  168h
                  Remaining:
                  Remaining Estimate - 168h
                  168h
                  Logged:
                  Time Spent - Not Specified
                  Not Specified