Red Hat Bugzilla – Bug 993996
When removing repository from group via REST it is added instead
Last modified: 2014-08-06 16:19:23 EDT
Description of problem:
Obviously a copy-paste error: https://github.com/droolsjbpm/drools-wb/blob/master/drools-wb-rest/src/main/java/org/kie/workbench/common/services/rest/ProjectResourceDispatcher.java#L477
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. curl -H "Accept: application/json" -X DELETE "localhost:8080/business-central/rest/groups/demo/repositories/jbpm-playground"
jbpm-playground is added to demo.group (even a duplicate entry)
jbpm-playground should be removed from demo.group
Fixed in ER2.