Details

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

      Description

      The subType on Role is not being exported in the LAR/Staging.

      See PermissionExporter.java, only the following are being exported.

      roleElement.addAttribute("name", role.getName());
      roleElement.addAttribute("title", role.getTitle());
      roleElement.addAttribute("description", role.getDescription());
      roleElement.addAttribute("type", String.valueOf(role.getType()));

      Make sure it also gets added to the PermissionImporter.

        Activity

        Hide
        Michael Saechang added a comment -

        Committed on:
        Portal 6.2.x GIT ID: 9509efc640f3624a6568083a310c6a3f89a195a9.

        Show
        Michael Saechang added a comment - Committed on: Portal 6.2.x GIT ID: 9509efc640f3624a6568083a310c6a3f89a195a9.
        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing using the following steps:

        1. Set "roles.regular.subtypes=subtype1,subtype2,subtype3" to portal-ext.properties.
        2. Start portal.
        3. Go to Control Panel > Roles.
        4. Create a regular role.
        5. Edit the role.
        6. Select a subtype from the dropdown box.
        7. Save.
        8. Go to Site Pages.
        9. Export it. (Check Permissions and Permissions Assigned to Roles.)
        11. Shut down portal.
        12. Clean database.
        13. Start up portal.
        14. Go to Control Panel > Site Pages.
        15. Import the exported data.
        16. Go to Roles and see the role.

        Reproduced on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.

        The subtype is not saved after importing.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 30ba0e21ec4cf4cfa456d152efec173ae6828801.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 26db36dd1d8cb06b88163a37d3fd7dfecb175e4b.

        The subtype is saved properly.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing using the following steps: 1. Set "roles.regular.subtypes=subtype1,subtype2,subtype3" to portal-ext.properties. 2. Start portal. 3. Go to Control Panel > Roles. 4. Create a regular role. 5. Edit the role. 6. Select a subtype from the dropdown box. 7. Save. 8. Go to Site Pages. 9. Export it. (Check Permissions and Permissions Assigned to Roles.) 11. Shut down portal. 12. Clean database. 13. Start up portal. 14. Go to Control Panel > Site Pages. 15. Import the exported data. 16. Go to Roles and see the role. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. The subtype is not saved after importing. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 30ba0e21ec4cf4cfa456d152efec173ae6828801. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 26db36dd1d8cb06b88163a37d3fd7dfecb175e4b. The subtype is saved properly.
        Hide
        Michael Saechang added a comment -

        Thank you for testing Pani. Closing as 'Fixed'.

        Show
        Michael Saechang added a comment - Thank you for testing Pani. Closing as 'Fixed'.
        Hide
        Brian Chan added a comment -

        Please test on perm algorithm 5 and 6 for 6.1.x.

        Show
        Brian Chan added a comment - Please test on perm algorithm 5 and 6 for 6.1.x.
        Hide
        Pani Gui (Inactive) added a comment -

        PASSED Manual Testing following the steps in the previous comment.

        Add properties "permissions.user.check.algorithm=5" and "permissions.user.check.algorithm=6" in portal-ext.properties to test it.

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 2c152d9937caab967b8183fe0c4a9062aba61ac1.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 26db36dd1d8cb06b88163a37d3fd7dfecb175e4b.

        The subtype works properly.

        Show
        Pani Gui (Inactive) added a comment - PASSED Manual Testing following the steps in the previous comment. Add properties "permissions.user.check.algorithm=5" and "permissions.user.check.algorithm=6" in portal-ext.properties to test it. Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 2c152d9937caab967b8183fe0c4a9062aba61ac1. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 26db36dd1d8cb06b88163a37d3fd7dfecb175e4b. The subtype works properly.
        Hide
        Michael Saechang added a comment -

        Thank you Pani!

        Show
        Michael Saechang added a comment - Thank you Pani!

          People

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

            Dates

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

              Development

                Structure Helper Panel