Hide Forgot
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.
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.
assigning to jeff to provide info.
As long as the server log describes the problem with the process and the process does not disappear this should be okay.