Bug 1013029

Summary: Logs appear when completing a project
Product: [Retired] JBoss BPMS Platform 6 Reporter: Michael <mbiarnes>
Component: Form ModelerAssignee: Neus Miras <nmirasch>
Status: CLOSED CURRENTRELEASE QA Contact: Jan Hrcek <jhrcek>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0.0CC: pzapataf
Target Milestone: ER5   
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:07:51 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 Flags
Problem still present in ER4 none

Description Michael 2013-09-27 16:03:47 UTC
Description of problem:

I created following project (with data model, process and forms): https://github.com/mbiarnes/examples.git
This project can be cloned into your application.
For the process execution are demanded two users. In my case michael and katy. You can see this in task_01 (michael), task_2.1(katy), task_03 (michael).
You should al least create two users.


Version-Release number of selected component (if applicable):
kie-wb-6.0.0.CR4-eap-6_1.war deployed in JBoss EAP 6.1.1

How reproducible:


Steps to Reproduce:
1. clone https://github.com/mbiarnes/examples.git into your project
2. build and deploy the project
3. start a process as user michael (or your user users)
you should see: https://gist.github.com/mbiarnes/6729723
4. got to task list and fill the form and complete the task
5. log out and log in as user katy (or your user)
6. go to task list and execute the task
now you should see in the logs. https://gist.github.com/mbiarnes/6729813
7. log out and log in as user michael and complete the process
8. start a new instance

Actual results:
you can complete the process and everything works properly. There are only these logs (https://gist.github.com/mbiarnes/6729723 and https://gist.github.com/mbiarnes/6729813).
This only seems to happen inthe first cicle of a process. If you have completed the first process instance the logs don'y appear.

Comment 2 Kris Verlaenen 2013-10-01 00:46:40 UTC
Michael, I couldn't reproduce the first issue.  It does appear that the form modeler generates the second error in the server log, but it doesn't appear to break anything.

Comment 3 Neus Miras 2013-10-02 15:14:12 UTC
Is a controlled situation, the log that was shown, has been passed to debug level.

Commits:

Master
https://github.com/droolsjbpm/jbpm-form-modeler/commit/8817180b20d4ae21ba1abfa91a709566fbf4b850

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

Comment 4 Jan Hrcek 2013-10-21 05:00:42 UTC
I tried to reproduce the problem with BPMS 6.0.0 ER4 deployed on EAP 6.1.0 and I also didn't get the first error, but I got the second error. From the error message 'Error modifying formStatus:' it is clear, that Neus's commit that changed the log level to debug didn't get to ER4 build. I'll verify this issue with the next release - when the fix is included in ER5.

Attaching server.log - problem still present in ER4

Comment 5 Jan Hrcek 2013-10-21 05:01:18 UTC
Created attachment 814395 [details]
Problem still present in ER4

Comment 6 Jan Hrcek 2014-01-10 10:16:46 UTC
Verified the presence of the fix in BPMS 6.0.0 ER7. However the sample project provided to reproduce the issue can no longer be built in business central. The error message states "org.kie.workbench.common.services.datamodeller.annotations.Label cannot be resolved to a type"

@ mbiarnes : If you want the bugfix to be verified against your sample project, please update your sample project and set the bugzilla back to ON_QA.