Bug 756802

Summary: Snapshot disappears after migration from BRMS 5.1.0 to 5.2.0.
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Toshiya Kobayashi <tkobayas>
Component: BRM (Guvnor)Assignee: Mark Proctor <mproctor>
Status: VERIFIED --- QA Contact: Sona Mala <smala>
Severity: high Docs Contact:
Priority: unspecified    
Version: BRMS 5.2.0.GACC: mproctor
Target Milestone: ---   
Target Release: BRMS 5.3.0.GA   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Toshiya Kobayashi 2011-11-24 16:16:23 UTC
Some snapshot may disappear after you export/import a repository from BRMS 5.1.0 to 5.2.0.

Steps to reproduce:

- In BRMS 5.1.0
- Copy 'mortgages' package as 'newpackage'
- "New Deployment snapshot" ->  select 'newpackage' ->  create a snapshot as a name 'mysnapshot'
- # Now you can "Rename" the 'newpackage' to fix drools:title. But it wouldn't fix drools:title in the snapshot
- Export repository
- Import the repository into BRMS 5.2.0
- You will see the snapshot has wrong package name and some error messages(javax.jcr.PathNotFoundException) when you try to "Copy" or "Compare"

This issue is derived from the problem described in bug 751744.
Because a copied package has wrong 'drools:title', its snapshot will have a wrong 'drools:title' as well.

Comment 2 Jervis Liu 2012-02-22 03:21:36 UTC
As the exported repository file was created by guvnor 5.1 which has the drools:title value set incorrectly, the only solution we can provide to customers is to fix the problematic repository file manually by opening the exported xml file with a text editor, finding the offending snapshot node, correcting the drools:title value manually.

Please check: https://access.redhat.com/knowledge/solutions/71733

Comment 3 Ryan Zhang 2012-03-21 09:55:28 UTC
Please verify this issue on ER5.

Comment 4 Sona Mala 2012-04-18 12:09:15 UTC
Please, can you write me if I need some special access to connect this pages:
https://access.redhat.com/knowledge/solutions/71733
https://access.redhat.com/support/cases/00543558

Comment 6 Sona Mala 2012-04-19 09:22:08 UTC
Thank, your mail was very helpful.

Comment 7 Jervis Liu 2012-04-19 09:52:13 UTC
Hi Soan, you need to have an account on RedHat CSP in order to access these information.