Bug 724159 (BRMS-102)

Summary: Version history is broken when importing from XML
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jaroslaw Kijanowski <kijanowski>
Component: BRM (Guvnor)Assignee: Jervis Liu <jliu>
Status: CLOSED WONTFIX QA Contact:
Severity: unspecified Docs Contact:
Priority: urgent    
Version: 5.0.0 CR1CC: mproctor
Target Milestone: ---   
Target Release: future   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/BRMS-102
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-26 20:17:23 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:

Description Jaroslaw Kijanowski 2009-05-01 14:48:33 UTC
Affects: Documentation (Ref Guide, User Guide, etc.)
Date of First Response: 2009-05-06 22:45:10
securitylevel_name: Public

Comment 1 Jaroslaw Kijanowski 2009-05-01 14:49:04 UTC
Link: Added: This issue depends GUVNOR-284


Comment 2 Jaroslaw Kijanowski 2009-05-06 17:52:32 UTC
Link: Added: This issue is a dependency of GUVNOR-296


Comment 3 Jaroslaw Kijanowski 2009-05-06 17:53:15 UTC
Version history is not cleared when importing from xml. As a workaround we can suggest to remove the repository directory or clean up the DB if one is used.

Comment 4 Jaroslaw Kijanowski 2009-05-06 17:53:51 UTC
Affects: Added: [Documentation (Ref Guide, User Guide, etc.)]


Comment 5 Dana Mison 2009-05-07 02:45:10 UTC
adding as known issue

Comment 6 Dana Mison 2009-05-13 07:45:19 UTC
added as known issue:

Version history is not cleared when importing

When performing an import the existing version data is not being removed.  As a workaround you can remove all the data from the version database, or simply create a new empty repository to import into.

Comment 7 Len DiMaggio 2010-03-02 17:49:44 UTC
Re-opening - this was listed as a known issue for 5.0.0, but not resolved.

Comment 8 Len DiMaggio 2010-09-07 17:08:47 UTC
It looks like the root cause is that the export doesn't include version data.

Comment 9 Jervis Liu 2010-10-08 08:57:08 UTC
Due to a limitation in JackRabbit API, there is no easy way to clean up whole version history before importing. The best way to address this issue for the time being is still to doc it as a known issue (or suggest to simply create a new empty repository to import into). 

We can revisit this issue in Drools 5.2. 

http://mail-archives.apache.org/mod_mbox/jackrabbit-users/201009.mbox/%3CAANLkTikNOPP41HvXb6L3rHoTs+me8hB617V_OynixtCg@mail.gmail.com%3E