Bug 1020353
Summary: | Process is saved even if I just close it | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Sona Mala <smala> | ||||||
Component: | jBPM Designer | Assignee: | Tihomir Surdilovic <tsurdilo> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Sona Mala <smala> | ||||||
Severity: | high | Docs Contact: | |||||||
Priority: | high | ||||||||
Version: | 6.0.0 | CC: | kverlaen, mbaluch, rrajasek, vigoyal | ||||||
Target Milestone: | ER5 | Keywords: | TestBlocker | ||||||
Target Release: | 6.0.0 | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: |
Summary: In the Project Authoring view, trying to discard changes made to a new Process in the Designer by pressing the close (X) button actually saves the changes.
Cause:
Consequence:
Fix:
Result:
|
Story Points: | --- | ||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2014-08-06 20:10:34 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: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Sona Mala
2013-10-17 13:48:21 UTC
I cannot reproduce this behavior locally. Designer was updated to ask user if they would like to save unsaved changes ( http://i.imgur.com/Km4HNht.png ) . I suspect that maybe you did not clear the browser cache before testing. Please retest and let me know. Thanks. Tiho, could reproduce this on CR4 with kie-wb, so might already be solved? please recheck I have tested with Designer 6.0.x branch and cannot reproduce it either. Will try CR4 now. Created attachment 813603 [details] Video file - step to reproduce I test it again with our product version (ER4 BPMS) on browser FF and Chrome. How you can see in an attached video, I deleted a cache and cookies. There is only one alert "Business Process may contain unsaved changes. Are you sure you would like to close the editor?". Same alert which was appended by Tiho in comment #1. And I am pretty sure that I want to close the editor and discard all changes in process. If I reopen process I want to see just one start node. How you can see in video this's not happen. The process contains three nodes instead of one. Some other applications shows this alert: "Business Process may contain unsaved changes. Do you want to save changes before you close this editor?" and options are: - YES -> save process and close editor - NO -> discard changes and close editor (this option is missing) - CANCEL -> close an alert (user can continue in his work) Tiho - IMO it will be better if you try the product instead. Many times stuff works on community versions but not on product versions. http://dev138.mw.lab.eng.bos.redhat.com/candidate/bpms-6.0.0-ER4/ I created a movie using ER4 your linked and it seems to work OK (attached savebz.mov). One thing I don't know how to do really is have a new repository I cloned show in the File Explorer so I can test with a new asset as well, but it should be the exact same code as when opening existing asset like shown in my movie. Thanks. Created attachment 813830 [details]
test_reproduce_video
Update - the video I created was from the Administration view where this issue does not happen. From the Project Authoring view this issue DOES happen as described. Looking into this. I have added an update to the designer 6.0.x branch. Would it be possible to test this out on your end quickly? If I try to replace the designer-* jars in ER5 with ones i build from the 6.0.x branch things break so I'm not really sure how to put my update into ER4 and try to test it out. Let me know. Thanks. I tested the change on kie-wb and it seems this is resolved. Commit https://github.com/droolsjbpm/jbpm-designer/commit/c535c8609be05b09af5aa0f3646ceb723f0e4c20 I will put issue as modified so it can be tested on your end as well. Thanks. Verified on ER5. When I choose to discard the changes (by selecting OK) then they will not be there after I open the process the second time. |