core
core copied to clipboard
Integrity Checker is not detecting conflicts between roles
Currently Integrity Checker is not detecting conflicts between roles. All other conflicts are being detected.
Expected Behavior
Integrity Checker should detect conflicts between roles as of now
Current Behavior
Integrity Checker is not detecting conflicts between roles. All other conflicts are being detected
Steps to Reproduce (for bugs)
- Startup a dotcms instance
- Apply a dotcms license
- Login to dotcms
- Navigate to Configuration> Publishing Environment
- Configure a push publish environment (Sender and Receiver)
- Go to System> Roles & Tabs. Create a new role in the sender and receiver with the same name
- On the sender, go back to Configuration> Publishing Environment and click the Check Integrity button
- System will tell you "No Integrity Conflicts found", however there's a role with the same name in the sender and receiver.
- No errors found in logs.
Your Environment
- dotCMS version used: master_4.0
- Commit: d70d622f3dc4927bec7b12f680753556748bd83c
- Database and version: Sender MySQL 5.6.35 / Receiver MySQL 5.6.35
- Operating System and version: Sender Win7 / Receiver Mac OS 10.10.5
- Browser Name and version: Firefox v45.0.1
- Application Server and version: Tomcat 8
- Java Brand and version: Java 8
The issue seems to be when the new role Key is blank, Integrity Checker is not detecting the conflict between roles.
Documented: http://auth.dotcms.com/docs/latest/integrity-checker#IntegrityChecker