PUBLIC - Liferay Portal Community Edition
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-30730

Asset tags admin portlet has javascript error if the user doesn't have the "Permissions" permission

    Details

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

      Description

      When a user isn't have the permission of permissions proceed to enter in the tags admin portlet, the javascript fails due it make reference to a button that doesn't exists (The permissions button)

      Steps to reproduce:

      Create an organization orgtag with a site linked to it
      Create an user inside orgtag called orguser
      Create a role tagger
      Define the permissions to the tagger role. This permissions are specified in the attachement tagger_permissions.png but they are basically all the permissions of the tag modules and the posibility of view the site in the control panel
      Set the tagger role to orguser user
      Log with orguser
      Enter in control panel -> sites -> orgtag and go to tags section. Open the firebug/chrome developer console and see the error:

      TypeError: tagsPermissionsButton is null

        Activity

        Hide
        Michael Saechang added a comment -

        Committed on:
        Portal 6.2.x GIT ID: 390bf61592f9f6ea4372ba6bd1ef8938984f97aa.

        Show
        Michael Saechang added a comment - Committed on: Portal 6.2.x GIT ID: 390bf61592f9f6ea4372ba6bd1ef8938984f97aa.
        Hide
        Ginson Ren added a comment -

        PASSED Manual Testing following the steps in the description.

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

        Open the firebug/chrome developer console and see the error: "TypeError: tagsPermissionsButton is null".

        Fixed on:
        Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 81df9718631632cbb741c6061755e6c3b0a14411.
        Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e5e962b1ffca754715b4a9c7a4db2b83cab97869.

        Open the firebug/chrome developer console, there is no error message. User can add tag successful.

        Show
        Ginson Ren added a comment - PASSED Manual Testing following the steps in the description. Reproduced on: Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2. Open the firebug/chrome developer console and see the error: "TypeError: tagsPermissionsButton is null". Fixed on: Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: 81df9718631632cbb741c6061755e6c3b0a14411. Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: e5e962b1ffca754715b4a9c7a4db2b83cab97869. Open the firebug/chrome developer console, there is no error message. User can add tag successful.

          People

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

            Dates

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

              Development

                Structure Helper Panel