Bug 1049368 - Project editor silently overwrites
Summary: Project editor silently overwrites
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: JBoss BRMS Platform 6
Classification: Retired
Component: Business Central
Version: 6.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: CR1
: 6.0.0
Assignee: Alexandre Porcelli
QA Contact: Zuzana Krejčová
URL:
Whiteboard:
Depends On:
Blocks: 999950
TreeView+ depends on / blocked
 
Reported: 2014-01-07 13:36 UTC by Zuzana Krejčová
Modified: 2014-08-06 20:17 UTC (History)
5 users (show)

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


Attachments (Terms of Use)

Description Zuzana Krejčová 2014-01-07 13:36:57 UTC
Description of problem:
The project editor still has that 'last save wins' behaviour. When two user change something in the Project editor, the second save overwrites the first without any warning or notification.

In one out of many attempts, I got some error pop-up (upon saving) with the option to Reopen or Cancel, but choosing Reopen did nothing with the Project editor. I haven't been able to get this pop-up ever since.


Version-Release number of selected component (if applicable):
BPMS 6.0 ER7


Steps to Reproduce:
1. Users u1 and u2 both open the Project editor for the same project.
2. User u1 changes the project name, saves.
3. User u2 changes the project description, saves.


Actual results:
The second save is successful, no warning or error, first save is overwritten.


Expected results:
Conflict warning, pop-up informing the second user that the file was changed, offering options to Force save, Reopen or Cancel, as with the other editors.

Comment 1 manstis 2014-01-08 16:02:07 UTC
Sorry Toni, looks like concurrency support in the Project Editor is broken. Perhaps ask Alexandre to cast an eye over it if you're uncertain.

Comment 3 Alexandre Porcelli 2014-01-16 13:04:05 UTC
One additional fix on guvnor repository in order to avoid unncessary dot files:

(6.0.x) http://github.com/droolsjbpm/guvnor/commit/7a42d37a3
(master) http://github.com/droolsjbpm/guvnor/commit/bcf1c1396


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