Uploaded image for project: 'JBoss BPMS Platform'
  1. JBoss BPMS Platform
  2. RHBPMS-5145

Double quotes " " are being changed to left/right double quote “ ”

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • Eclipse Tooling
    • None
    • Hide

      Disable "smart quotes" in OS X settings.

      Show
      Disable "smart quotes" in OS X settings.
    • Hide

      1. Open Dev studio and open/create a project.
      2. Select File->New->Other->Drools->JBPM Process Diagram to create a bpmn2 file. You should get a diagram editor window with a grid and a "StartProcess" node.
      3. Add a script task. In the script task properties, select Script language "Java". In the "script" property, type some valid java that includes double quotes, e.g. 'System.out.println("hello");'
      4. Save the file.
      5. Inspect the file (or try to run it, or something).

      Show
      1. Open Dev studio and open/create a project. 2. Select File->New->Other->Drools->JBPM Process Diagram to create a bpmn2 file. You should get a diagram editor window with a grid and a "StartProcess" node. 3. Add a script task. In the script task properties, select Script language "Java". In the "script" property, type some valid java that includes double quotes, e.g. 'System.out.println("hello");' 4. Save the file. 5. Inspect the file (or try to run it, or something).

      If you type in some java code - i.e. inside a Script Task which includes double quotes, for example:
      System.out.println("Hello World");
      these double quotes will be changed upon saving into left/right quotes:
      System.out.println(“test”);

      expected behavior: double quotes " " will remain unchanged

              kverlaen@redhat.com Kris Verlaenen
              rhn-support-agiertli Anton Giertli
              Tomas David Tomas David
              Tomas David Tomas David
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: