Bug 1011937

Summary: No way of deleting derived artifacts
Product: [JBoss] JBoss Fuse Service Works 6 Reporter: Stefan Bunciak <sbunciak>
Component: DT GovernanceAssignee: Kurt T Stam <kurt.stam>
Status: CLOSED CURRENTRELEASE QA Contact: Jiri Sedlacek <jsedlace>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 6.0.0 GACC: atangrin, oskutka, soa-p-jira
Target Milestone: ER7   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Bug Depends On: 1005775    
Bug Blocks:    

Description Stefan Bunciak 2013-09-25 12:23:16 UTC
Description of problem:

* Derived artifacts are not removed along with the primary/origin artifacts which they are derived from and there is no way of deleting them.

Version-Release number of selected component (if applicable):
6.0.0.ER3

How reproducible:
* 100%

Steps to Reproduce:
* See: http://pastebin.test.redhat.com/166082 (whole use case with Wsdl Document)

Actual results:

* UI exception : org.overlord.sramp.client.SrampClientException:Failed to find an artifact with <UUID>
* All derived artifacts remains in repository forever

Expected results:

* Derived artifacts get removed along with the primary/origin artifact

Additional info:

Comment 2 Eric Wittmann 2013-09-25 13:09:52 UTC
Very thorough write-up and test case!

Comment 3 JBoss JIRA Server 2013-10-04 16:52:43 UTC
Kurt Stam <kurt.stam> made a comment on jira SRAMP-246

Upgrading to modeshape 3.5 did not help. When I delete the modeshape indexes, and lucene rebuilds them then the deleted derived artifact are no longer found.

Comment 7 Kurt T Stam 2013-10-11 19:58:24 UTC
They actually really are deleted; modeshape just hasn't updated the indexes, so until that is fixed you simply delete the indexes:

standalone/data/modeshape/sramp/indexes/

and it will rebuild them on reboot.

Comment 8 Kurt T Stam 2013-10-11 20:01:27 UTC
Depends on https://bugzilla.redhat.com/show_bug.cgi?id=1005775

Comment 9 JBoss JIRA Server 2013-10-30 17:28:44 UTC
Kurt Stam <kurt.stam> updated the status of jira SRAMP-246 to Resolved

Comment 10 JBoss JIRA Server 2013-10-30 17:28:51 UTC
Kurt Stam <kurt.stam> updated the status of jira SRAMP-246 to Closed

Comment 11 Stefan Bunciak 2013-12-12 13:12:50 UTC
Verified in FSW 6.0.0.ER7