Details

    • Branch Version/s:
      6.1.x
    • Backported to Branch:
      Committed
    • Epic/Theme:
    • Similar Issues:
      Show 5 results 

      Description

      Create an organization with a site associated

      Go to the Sites Admin, click on the detail of the site. It says there are no members.

        Issue Links

          Activity

          Hide
          Eduardo Garcia added a comment - - edited

          Scenario:

          • Site "Site1" is the site of the organization "Org1"
          • Organizations "Org2" and "Org3" are members of "Site1"
          • "Org2" and "Org3" are explicit members of "Site1" (through Groups_Orgs table) while "Org1" is an implicit member of "Site1".

          Previous situation:

          • A search for all the organizations which are members of "Site1" (using the param "organizationsGroups" set to the groupId of Site1) returned only "Org2" and "Org3".
          • In order to provide information about the implicit membership of "Org1", we just increased the count result (see site_columns.jspf)

          Current situation:

          • A search for all the organizations which are members of "Site1" (using the param "organizationsGroups" set to the groupId) will also return the organization the site belongs to ("Org1") if the param "groupOrganization" set to the groupId of Site1 is added to the params map of the search method in the OrganizationFinder.
          • This improvement has been used to add/refactor some views containing information about sites and their related organizations.

          Technicals remarks

          • The UNION logic is similar to the one used in GroupFinderImpl or DLFolderFinderImpl.
          • UNION ALL is used instead of UNION for a better performance, since we're already including the DISTINCT clause in the subselects.
          Show
          Eduardo Garcia added a comment - - edited Scenario: Site "Site1" is the site of the organization "Org1" Organizations "Org2" and "Org3" are members of "Site1" "Org2" and "Org3" are explicit members of "Site1" (through Groups_Orgs table) while "Org1" is an implicit member of "Site1". Previous situation: A search for all the organizations which are members of "Site1" (using the param "organizationsGroups" set to the groupId of Site1) returned only "Org2" and "Org3". In order to provide information about the implicit membership of "Org1", we just increased the count result (see site_columns.jspf) Current situation: A search for all the organizations which are members of "Site1" (using the param "organizationsGroups" set to the groupId) will also return the organization the site belongs to ("Org1") if the param "groupOrganization" set to the groupId of Site1 is added to the params map of the search method in the OrganizationFinder. This improvement has been used to add/refactor some views containing information about sites and their related organizations. Technicals remarks The UNION logic is similar to the one used in GroupFinderImpl or DLFolderFinderImpl. UNION ALL is used instead of UNION for a better performance, since we're already including the DISTINCT clause in the subselects.
          Hide
          Michael Saechang added a comment -

          Committed on:
          Portal 6.2.x GIT ID: dbaa7daaa8c99e4ccf0fa6571774d954933df973.

          Show
          Michael Saechang added a comment - Committed on: Portal 6.2.x GIT ID: dbaa7daaa8c99e4ccf0fa6571774d954933df973.
          Hide
          Koor Gai added a comment -

          PASSED Manual Testing following the steps in the description.

          Reproduced on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 810f663e5ac7010c8e5aa6ed903d7971a6d190cc.

          User was able to see explicit organizations only (ie Org2 and Org3). And the search results for all organization which are members of Site1 also return Org2 and Org3 only.

          Fixed on:
          Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6f19942f4cd08558e83ef9a52f0950347135940c.

          User is able to see all organizations listed which are members of Site1, including implicit Org1. And for the implicit one, a help message is displayed to explain why this organization is shown here even if we haven't assigned it manually.

          Show
          Koor Gai added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 810f663e5ac7010c8e5aa6ed903d7971a6d190cc. User was able to see explicit organizations only (ie Org2 and Org3). And the search results for all organization which are members of Site1 also return Org2 and Org3 only. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 6f19942f4cd08558e83ef9a52f0950347135940c. User is able to see all organizations listed which are members of Site1, including implicit Org1. And for the implicit one, a help message is displayed to explain why this organization is shown here even if we haven't assigned it manually.

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Days since last comment:
                2 years, 15 weeks, 6 days ago

                Development

                  Structure Helper Panel