Bug 758199

Summary: Asset Editors: Saving one tab refreshes the others to the default state
Product: [JBoss] JBoss Enterprise BRMS Platform 5 Reporter: Jiri Locker <jlocker>
Component: BRM (Guvnor)Assignee: Toni Rikkola <trikkola>
Status: ASSIGNED --- QA Contact: Jiri Locker <jlocker>
Severity: medium Docs Contact:
Priority: unspecified    
Version: BRMS 5.3.0.GACC: atangrin, lpetrovi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
When using multiple assets editors in different tabs, saving one asset editor refreshes all the asset editors and any unsaved work in the other asset editors is lost.
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 Jiri Locker 2011-11-29 14:16:13 UTC
see https://issues.jboss.org/browse/GUVNOR-1654

Comment 1 Lukáš Petrovický 2012-03-20 17:17:40 UTC
There's a request for a reproducer in the original JIRA.

Comment 2 JBoss JIRA Server 2012-04-13 19:27:44 UTC
Michael Anstis <michael.anstis> made a comment on jira GUVNOR-1654

Tested with 5.4.0.CR1 and cannot reproduce. Still waiting for advice from Jiri.

Comment 3 Toni Rikkola 2012-04-18 08:21:26 UTC
Changing the status to MODIFIED. We didn't fix anything because we can't reproduce.

Comment 4 Ryan Zhang 2012-04-23 07:40:00 UTC
Update status to ON_QA. Please verify them against ER6.

Comment 5 Jiri Locker 2012-04-23 13:07:56 UTC
Sorry for the late reply. The original issue reported by Toni seems to be fixed. Editing (and saving) a rule doesn't refresh the other tabs.

I don't know what I really managed to reproduce when I commented on 2011-11-29 in JIRA, but I tried some more complicated cases and this is the result:

When saving declarative models and enumerations all open rules in the same package are refreshed and so any unsaved changes are lost. It sounds logical that changes in model/enums need to be propagated somehow, so that they are reflected in guided editor. But the unsaved work shouldn't be just thrown away silently.

Any ideas?

(Setting back to ASSIGNED until we figure out how to resolve the described behavior.)

Comment 7 Toni Rikkola 2012-06-03 09:41:01 UTC
I found this from ER8. I was editing a model, had an enum editor with some unsaved changed open. Save in model editor resets the enum editor.

Comment 8 lcarlon 2012-06-13 02:55:47 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When using multiple assets editors in different tabs saving one asset editor refreshes all the asset editors and any unsaved work in the other asset editors is lost.

Comment 9 JBoss JIRA Server 2013-11-18 10:09:38 UTC
Toni Rikkola <toni> updated the status of jira GUVNOR-1654 to Resolved