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

Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: Release Branch 14.12, Trunk
    • Fix Version/s: 14.12.01, 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      Change the field name 'tenantId' to 'userTenantId' from login page and ContextFilter

      While using webtools for tenantGroup and searching with a tenantId then its interpreting it as tenantId in request and switching delegator for it.

        Activity

        Hide
        adrianc@hlmksw.com Adrian Crum added a comment -

        That is a good idea! We had a similar problem with the screens that set the user's locale and time zone.

        Show
        adrianc@hlmksw.com Adrian Crum added a comment - That is a good idea! We had a similar problem with the screens that set the user's locale and time zone.
        Hide
        arunpati Arun Patidar added a comment -

        Attached is the patch. I have renamed request attribute 'tenantId' with 'userTenantId' so that it will not conflict with entity and service parameters.

        Show
        arunpati Arun Patidar added a comment - Attached is the patch. I have renamed request attribute 'tenantId' with 'userTenantId' so that it will not conflict with entity and service parameters.
        Hide
        deepak.dixit Deepak Dixit added a comment -

        Thanks Arun Patidar for your contribution.
        Your patch has been committed in following revision:

        Trunk at r#1672853
        14.12 at r#1672854

        Show
        deepak.dixit Deepak Dixit added a comment - Thanks Arun Patidar for your contribution. Your patch has been committed in following revision: Trunk at r#1672853 14.12 at r#1672854

          People

          • Assignee:
            deepak.dixit Deepak Dixit
            Reporter:
            arunpati Arun Patidar
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development