Bug 1109152 - Designer fails to open process when input variable missing
Summary: Designer fails to open process when input variable missing
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: JBoss BPMS Platform 6
Classification: Retired
Component: jBPM Designer
Version: 6.0.1
Hardware: x86_64
OS: Mac OS
high
urgent
Target Milestone: ER1
: 6.1.0
Assignee: Tihomir Surdilovic
QA Contact: Sona Mala
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-13 10:59 UTC by Eric D. Schabell
Modified: 2014-10-29 07:25 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-10-29 06:52:55 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
error screenshot (47.14 KB, image/png)
2014-06-13 10:59 UTC, Eric D. Schabell
no flags Details
error screenshot 2 (121.60 KB, image/png)
2014-06-13 11:00 UTC, Eric D. Schabell
no flags Details
error screenshot 3 (36.85 KB, image/png)
2014-06-13 11:00 UTC, Eric D. Schabell
no flags Details
niogit of project zip (957.41 KB, application/zip)
2014-06-13 11:01 UTC, Eric D. Schabell
no flags Details

Description Eric D. Schabell 2014-06-13 10:59:33 UTC
Created attachment 908480 [details]
error screenshot

Description of problem:
Designed process (attached .niogit zip and images of errors), has defined process variables one of which is 'amount', removed 'amount' during testing and editing. Closed process designer and can't open as it complains of missing variable 'amount', see screenshots. 

Have no way to edit or fix problem, have to start over == catastrophic loss of process definition.

Version-Release number of selected component (if applicable):
JBoss BPM Suite 6.0.1.GA

How reproducible:
See above.

Steps to Reproduce:
1. see above
2.
3.

Actual results:
error pop-up and designer hangs (not opening process definition).

Expected results:
Open process definition and report error in problem pane at the bottom of the dashboard.

Additional info:

Comment 2 Eric D. Schabell 2014-06-13 11:00:18 UTC
Created attachment 908481 [details]
error screenshot 2

Comment 3 Eric D. Schabell 2014-06-13 11:00:49 UTC
Created attachment 908482 [details]
error screenshot 3

Comment 4 Eric D. Schabell 2014-06-13 11:01:25 UTC
Created attachment 908483 [details]
niogit of project zip

Comment 5 Eric D. Schabell 2014-06-13 11:18:44 UTC
Tested on 6.0.2.ER3 (latest we have), now it opens but the error is a red popup bar like the build&deploy, which fades very fast so you can't read the error... nothing in the problems pane so I have no idea if not paying attention that there is an error.

Would like to say the initial problem is fixed, but it is not fixed in a way that is useful to the process desiger.

Can we raise it to "error in designer needs to be in problems pane"?

Comment 6 Eric D. Schabell 2014-06-13 11:19:42 UTC
Also note that the project still builds and deploys without a problem, essentially allowing defective process to be pushed into runtime.

Comment 7 Sona Mala 2014-06-13 12:12:36 UTC
Please can you tell me the meaning of a deleted variable?

I have tried it to reproduce. I have reproduced similar behaviour only when I removed a variable which was used in assignments. The corrupted assignment was removed by Designer vER3.

The alert is too short to find a cause of the problem. The message does not say nothing about a solution of this conflict.

Please, can you describe the expected behaviour?

Comment 8 Eric D. Schabell 2014-06-13 15:00:11 UTC
(In reply to Sona Mala from comment #7)
> Please can you tell me the meaning of a deleted variable?
>
Fixed in 6.0.2.ER3 so ignore this.


 
> I have tried it to reproduce. I have reproduced similar behaviour only when
> I removed a variable which was used in assignments. The corrupted assignment
> was removed by Designer vER3.
> 
> The alert is too short to find a cause of the problem. The message does not
> say nothing about a solution of this conflict.
> 
> Please, can you describe the expected behaviour?
>
Instead of pop-up error, it should:

1. put current pop-up error message in problems panel at bottom.
2. not build project when there is a problem.

Comment 9 Tihomir Surdilovic 2014-06-13 19:06:22 UTC
We are using the UF notifications in Designer. We will use that and not raise any custom error popups (rest of designer notifications are being converted to UF notifications as well). 

Designer does not influence the problems panel content so please raise this BZ with a different component as Designer specifically also does not have to do with building the project also.

Comment 10 Sona Mala 2014-09-23 07:53:57 UTC
Hi Tiho,
I cannot find any commit which fix this issue, so there is nothing to verify. Please, can you close (state WONTFIX or NOTABUG) this issue instead of transfer it to the MODIFIED state? Thanks a lot.

Comment 11 Tihomir Surdilovic 2014-09-29 16:32:54 UTC
I am not presented with the notfix or notabug options. sorry. could you please set it to notabug? thanks.

Comment 12 Sona Mala 2014-10-29 06:52:55 UTC
This action is based on Comment #11.


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