Bug 1059608
| Summary: | kie-config-cli throws exception in remove-role-project command | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Radovan Synek <rsynek> | ||||
| Component: | Business Central | Assignee: | Maciej Swiderski <mswiders> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Radovan Synek <rsynek> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 6.0.0 | CC: | kverlaen, rrajasek | ||||
| Target Milestone: | ER1 | ||||||
| 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:12 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: |
|
||||||
issue was caused by trying to remove roles if none yet existed and thus projects configuration was not available. Fixed it by ensuring that when no roles are assigned to project/repository an attempt to remove roles will not be allowed. Proper message will be displayed instead. kie-wb-distributions master: https://github.com/droolsjbpm/kie-wb-distributions/commit/42e478a6c53fe077f3bbb3c1dcf75f5c379ce523 6.0.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/5676aeaeabc0cf9059b0036d8e29063b4fd77808 Verified with BPMS-6.0.1.ER1 |
Created attachment 857404 [details] kie-config-cli output Remove-role-project command asks for repository name, then lists all available projects and lets user to choose one of them. After choosing a project, it throws an exception saying " Project <name-of-your-project> not found". In opposite, add-role-project command works as expected. Take a look at the attached output.