Red Hat Bugzilla – Bug 1300785
kie-config-cli: list-org-units command doesn't show up-to-date repository groups
Last modified: 2016-07-31 21:18:17 EDT
Description of problem: When changing restrictions on a repository, the list-org-units command shows the state before the changes. To get the up-to-date set-up from this command, user needs to exit the tool and restart it. Version-Release number of selected component (if applicable): 6.2.1 Steps to Reproduce: 1. Start the business-central with example repo enabled. 2. Start the kie-config-cli tool, authenticate and such. 3. List the org. units and repositories with list-org-units -> there are no repository groups shown for repository1. 4. List the repositories with list-repo -> there are no repository groups shown for repository1. 5. Add a group ('test') to repository1. 6. List the org. units and repositories with list-org-units -> there are no repository groups shown for repository1. 7. List the repositories with list-repo -> the repository1 repo has 'test' group listed. Additional info: The same happens if you remove a group from a repo instead. Pushing changes and fetching with commands push-changes, fetch-changes doesn't help.
fixed kie-wb-distriybutions master: https://github.com/droolsjbpm/kie-wb-distributions/commit/f6b2942f974f8d7e6a88968d49b92ad8e532ea3a 6.4.x: https://github.com/droolsjbpm/kie-wb-distributions/commit/a0482055a4f781275448827d7f6e791cf21ce72f