Bug 993996 - When removing repository from group via REST it is added instead
Summary: When removing repository from group via REST it is added instead
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ER2
: 6.0.0
Assignee: Mark Proctor
QA Contact: Jiri Locker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-08-06 13:38 UTC by Jiri Locker
Modified: 2014-08-06 20:19 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-08-06 20:19:23 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jiri Locker 2013-08-06 13:38:51 UTC
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):
CR1 (community)

Steps to Reproduce:
1. curl -H "Accept: application/json" -X DELETE "localhost:8080/business-central/rest/groups/demo/repositories/jbpm-playground"

Actual results:
jbpm-playground is added to demo.group (even a duplicate entry)

Expected results:
jbpm-playground should be removed from demo.group

Comment 1 Jervis Liu 2013-08-07 02:38:56 UTC
fixed. 

http://github.com/droolsjbpm/drools-wb/commit/b5a95d398

Comment 2 Jiri Locker 2013-09-12 14:09:46 UTC
Fixed in ER2.


Note You need to log in before you can comment on or make changes to this bug.