Bug 1038108
| Summary: | Warning 'User has updated the following resource ... ' sometimes appears when clicking Save in form modeler | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BPMS Platform 6 | Reporter: | Jan Hrcek <jhrcek> | ||||||
| Component: | Form Modeler | Assignee: | Pere Fernàndez <pere.fernandez> | ||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hrcek <jhrcek> | ||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 6.0.0 | CC: | dgutierr, jschatte, pere.fernandez, pzapataf, rrajasek, rzhang | ||||||
| Target Milestone: | ER2 | ||||||||
| Target Release: | 6.0.1 | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2014-08-06 20:01:57 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
Jan Hrcek
2013-12-04 12:45:44 UTC
Changed save action on form editor to avoid concurrency error. Added commit message. Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/c4288a400643abeb976a1f2c627b8e4dc36ea669 Changed save action on form editor to avoid concurrency error. Added commit message. Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/c4288a400643abeb976a1f2c627b8e4dc36ea669 Commit (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/01781947c171e04f17525f31f0610707aead5c99 Tested with BPMS 6.0.0 CR1 and the problem is still not fixed. It seems to be working correctly when you open existing form, perform some edits and save (normal 'Save this item' dialog is displayed) But when you create a new form (New Item > Form) and you click save in the subsequently edited Form Modeler panel (no matter whether you perform some edits or don't), you will again get the error modal "User has updated the following resource ..." Please review this problem again. By the way I verified, that the commit to fix the problem is present in the CR1 binaries. Added missing commits. Commit (master): https://github.com/droolsjbpm/jbpm-form-modeler/commit/07069e3600a58661b3f539d69a8227ac9e6d987a Commit (6.0.x): https://github.com/droolsjbpm/jbpm-form-modeler/commit/ae5595396ad34fb7ff9f7e3313d849304493133f This no longer has a target release of 6.0.0. Checked with BPMS 6.0.1 ER1 and the problem is still the same as described in Comment 3: it is working fine with existing forms, but when user creates new form, makes some edits and then saves, the warning dialog is displayed. I found some additional facts. It seems, that when the form is created, the underlying git commit is done under different user (Jan Hrcek - my name) then the commit done when saving the form (root - the username I am logged in to business central). I don't understand why. Where is the business central reading my name from? Why is the initial commit when creating the form also not done under the user that is logged into business central? Please take a look at the screenshot. Now it makes sense why, when I press Save in form modeller, the message 'User has updated the following resource ... ' is displayed - because the user who created the form is different from the user who is saving the form Created attachment 865025 [details]
History in git 1) form created 2) form saved
Hi Jan, I've pushed a fix for the problem that you mention in your comment #10: master: http://github.com/droolsjbpm/jbpm-form-modeler/commit/670954025 6.0.x: http://github.com/droolsjbpm/jbpm-form-modeler/commit/c030bcd20 Nevertheless, this probably does not fix the issue at hand, because I've been trying to reproduce the 'form modified' popup-issue in hosted mode (to be able to debug it) before applying the aforementioned fix, i.e. having a different user for the form creation and posterior modifications, and I have NOT been able to reproduce it. It seems to be more a problem a platform level, since this also sometimes happens in datamodeller and in the process designer. Since the last modification I'm not able to reproduce it, I've tested it on hosted mode, as7, eap 6.1 and eap 6.1.1 Ok, verified with BPMS 6.0.1 ER2 |