Bug 1007562

Summary: Relation forms to data model gets lost when stopping server
Product: [Retired] JBoss BPMS Platform 6 Reporter: Michael <mbiarnes>
Component: Form ModelerAssignee: Neus Miras <nmirasch>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.0.0   
Target Milestone: ER4   
Target Release: 6.0.0   
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:09:49 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:
Attachments:
Description Flags
subFRM before stopping server
none
subFRM after server stop and login none

Description Michael 2013-09-12 18:39:13 UTC
Created attachment 796968 [details]
subFRM before stopping server

Description of problem:

When defining a data model with a sub data model, creating forms and logging out and stopping the JBoss server - the relation of forms to the data model gets lost when accessing again. This can be solved by a simple logout and login. 

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

kie-wb-6.0.0-SNAPSHOT-eap_1_6.war deployed to EAP 6.1

How reproducible:


Steps to Reproduce:
1. Create project, two data models (one should be the son of the other), create forms and sub-forms
2. When everything is defined save the changes, so all forms are saved
3. Log out from kie-wb and stop the JBoss
4. Start the JBoss server and access kie-wb
5. Look now at the forms, they are messed
6. Log out and LogIn again
7. Everything should look normal now 

Actual results:
The forms are messed after stopping the server

Comment 2 Michael 2013-09-12 18:42:14 UTC
Created attachment 796969 [details]
subFRM after server stop and login

Comment 3 Neus Miras 2013-09-13 15:44:12 UTC
There was a concurrency problem when the many forms were showed in a previous session. Now the servlet controls that only one form is processed in loading operation.

Commits:
Master
https://github.com/droolsjbpm/jbpm-form-modeler/commit/40a0ec8a6789529dbf47cadb740b12fef81d01bd

6.0.x
https://github.com/droolsjbpm/jbpm-form-modeler/commit/282433755874196d9a5340124175ed23a144878a

Comment 4 Jan Hrcek 2013-10-21 05:35:30 UTC
Ok, verified with BPMS 6.0.0 ER4 deployed on EAP 6.1