Bug 1065524
| Summary: | NullPointerException when assigning permission to ComplementaryRolePrincipal | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jan Hrcek <jhrcek> | ||||||
| Component: | BAM | Assignee: | Roger Martínez <romartin> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hrcek <jhrcek> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.0.1 | CC: | kverlaen, pzapataf, rrajasek | ||||||
| Target Milestone: | ER2 | ||||||||
| Target Release: | 6.0.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-08-06 20:02:53 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
Created attachment 863429 [details]
Steps to reproduce - video
Commit in 6.0.x *************** https://github.com/droolsjbpm/dashboard-builder/commit/fd48c637a960100a68de48ca87d514e4a9252347 Commit in master **************** https://github.com/droolsjbpm/dashboard-builder/commit/a689765568f7608776340458f4293fe5dc9f0078 Refactored as https://github.com/droolsjbpm/dashboard-builder/commit/a689765568f7608776340458f4293fe5dc9f0078#commitcomment-5433109 Commit in 6.0.x *************** https://github.com/droolsjbpm/dashboard-builder/commit/6c874a94f2d6a0328105feba99b7c02a421c2ebe Commit in master **************** https://github.com/droolsjbpm/dashboard-builder/commit/92082d4326e3303841cbf49702bdfb2d047a6a67 Ok, verified with BPMS 6.0.1 ER2 |
Created attachment 863428 [details] server.log showing NullPointerException Description of problem: When you are assigning permissions to complement of some role (e.g. prohibit something to all roles except to role admin) the role is not assigned, because NullPointerException is thrown. Observe an example with steps to reproduce in the video. Version-Release number of selected component (if applicable): BPMS 6.0.1 ER1 How reproducible: Always Steps to Reproduce: 1. Try to assign some permission with "reverse" checkbox under role select checked Actual results: The permission is not assigned and NPE appears in the server.log Expected results: The reverse permission added successfully.b