Bug 768127 - Process disappears upon save in Web Designer if error in variables
Summary: Process disappears upon save in Web Designer if error in variables
Keywords:
Status: VERIFIED
Alias: None
Product: JBoss Enterprise BRMS Platform 5
Classification: JBoss
Component: jBPM 5
Version: BRMS 5.3.0.GA
Hardware: Unspecified
OS: Mac OS
unspecified
unspecified
Target Milestone: ---
: BRMS 5.3.0.GA
Assignee: Kris Verlaenen
QA Contact: Lukáš Petrovický
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-12-15 20:28 UTC by Jeff DeLong
Modified: 2020-04-27 01:12 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: ---


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 795759 0 unspecified ASSIGNED Designer: validation does not really validate 2021-04-09 12:49:10 UTC

Internal Links: 795759

Description Jeff DeLong 2011-12-15 20:28:31 UTC
Description of problem:

Process disappears upon save in Web Designer if error in variables, or in other text entry fields. No way for user to know the correct format. Error makes it impossible for Designer to save the changes.

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

Dev6 - designer.war


How reproducible:

Very


Steps to Reproduce:
1. Create a simple process (Start -> Script Task -> End). 
2. Enter the package and id
3. Enter a few variables with an error in their format.
4. Add a script 
5. Save
  
Actual results:

The process disappears. 

Expected results:

WARNING: JSON error, process variable incorrectly specified, changes were not saved. Correct format for process variables is <variableName>:<variableType>,<variableName>:<variableType>,...


Additional info:

Saving often helps mitigate the general problem, as you can re-open the older version of the saved file.

Comment 1 Tihomir Surdilovic 2012-01-02 21:00:55 UTC
This is fixed in designer and the guvnor 5.3.x branch. However the functionality is somewhat different:
When user tries to save a process or view the process sources from the Guvnor function bar above the designer editor, and there are parsing issues with the process trying to be saved, Designer will prompt user with a message that this operation could not be performed and to view the server logs for more details. It is not easy to deliver error-specific messages and this would take a large amount of time. Let me know if the currently described functionality works for you.

Thanks.

Comment 2 Tihomir Surdilovic 2012-01-02 21:02:35 UTC
assigning to jeff to provide info.

Comment 3 Jeff DeLong 2012-01-02 23:02:08 UTC
As long as the server log describes the problem with the process and the process does not disappear this should be okay.


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