Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-3898

Designer lost code format once OK button is clicked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • None
    • jBPM 5.4
    • Designer
    • None

    Description

      Using script task, the format of the code is lost once the ok button is pressed.

      step for reproducing:
      1. create a new bpm process
      2. add script task
      3. selecting java as language
      4. add any code e.g.:
      kcontext.setVariable("transactions",history.getValues());
      System.out.println("Found " + history.getValues().size() + " transactions");
      5. click ok
      6. reopen the script
      7. the code is now w/o new line char e.g
      kcontext.setVariable("transactions",history.getValues());System.out.println("Found " + history.getValues().size() + " transactions");

      Attachments

        Activity

          People

            rhn-support-tsurdilo Tihomir Surdilovic (Inactive)
            danilo.rizzo Danilo Rizzo (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: