GrailsFlow

Problem with quotes in Action Editor leads to generating invalid scripts.

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 0.9.3
  • Fix Version/s: 0.9.3
  • Component/s: None
  • Labels:
    None
  • Request Controller:
    Albers, Stephan
  • External Supervisor:
    Karpey, July
  • Executing Programmer:
    Karpey, July
  • Estimated Hours:
    0
  • Current Estimated Hours:
    0

Description

In some action statements (in Action Editor) we need to escape quotes. E.g.

 
  AssignTo(var:'nextAssignee') {
      Evaluate(expression: '[ \'MANAGER\', \'ADMIN\']')
  }

When such action statements are shown in Action Editor, the back slashes before escaped quotes are not displayed. So, if the user even do not change anything and presses 'Save' button, the statements are saved without escaping. Then when the user tries to generate script for this process definition, the invalid script will be generated (and it cannot be compiled to Java class any more).

There is the same problem when the user enters parameters values, that contain quotes. The quotes are not escaped after saving statements in Action Editor.

Activity

Hide
Fedorov, Viktor added a comment - 27/Feb/09 11:30 AM

Done

Show
Fedorov, Viktor added a comment - 27/Feb/09 11:30 AM Done
Hide
Fedorov, Viktor added a comment - 06/Mar/09 10:16 AM

Done

Show
Fedorov, Viktor added a comment - 06/Mar/09 10:16 AM Done

People

Vote (0)
Watch (0)

Dates

  • Created:
    23/Jan/09 2:38 PM
    Updated:
    04/Jun/09 1:59 PM
    Resolved:
    04/Jun/09 1:59 PM