Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 6.1.1 CE GA2, 6.1.20 EE GA2
-
Fix Version/s: 6.1.X EE, 6.2.0 CE M4
-
Component/s: UI, UI > JavaScript & CSS, WCM > Categories
-
Environment:Tomcat 7.0.34 + MySQL 5.0. Portal 6.2.x
-
Branch Version/s:6.1.x
-
Backported to Branch:Committed
-
Fix Priority:4
-
Where was the bug?:Javascript
-
Similar Issues:
Description
Steps to reproduce:
1. Add an new user
2. Create a new Site Role
3. Associate the user to a site, the site to the created role, and the user to that role.
4. Define the role permissions
5. In permissions input choose: Control Panel:Site -> Categories (Control Panel).
6. Select All and save
7. Impersonate the user and go to Control Panel -> Categories
The javascript console error shows: Uncaught TypeError: Cannot call method 'on' of null
This error is related to the 'addCategoryButton'.
8. In the role permissions page again, go to Site Content -> Categories (Control Panel).
9. Select 'Add Category' and save
In the Control Panel with the user again, now you'll see the same error but related to 'addVocabularyButton'.
Issue Links
- is duplicated by
-
LPS-28350
User with all permissions on categories cannot manage categories
-

PASSED Manual Testing following the steps in the description.
Reproduced on:
Tomcat 7.0 + MySQL 5. Portal 6.1.20 EE GA2.
The javascript console error shows: Uncaught TypeError: Cannot call method 'on' of null.
Fixed on:
Tomcat 7.0 + MySQL 5. Portal 6.1.x EE GIT ID: f526762d4eea83798b49e5d5e93d1baa9d8e3a0e.
Tomcat 7.0 + MySQL 5. Portal 6.2.x GIT ID: 21f30ec5e4636ac601f2409554d7b616c239d777.
There is no javascript error.