Uploaded image for project: 'Elements Connect'
  1. Elements Connect
  2. CO-3578

HTML returned by the datasource shall be escaped only when the editor can evaluate HTML and on display

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 6.0.2, 6.0.3
    • Fix Version/s: 6.1.4
    • Labels:
      None

      Description

      How to reproduce

      • Configure a field connect to "Jira Issues (JQL)" DS
        • Query: empty
        • Display: {summary}
        • Editor: Select
      • Create an issue with summary: "Is 4 < 0?"
      • Create another issue
      • Edit the connect field

      Current

      in the Connect field, "Is 4 < 0?" is displayed as

      Is 4 &lt; 0?

      Expected
      "Is 4 < 0?" is displayed as "Is 4 < 0?"

      Only escape HTML when

      • Editing with "Autocomplete", "Readonly", "Checkbox", "Radio button", "Table editor"
      • Display mode

      Do not escape when:

      • Editing with "Select list"
      • Copying value with Connect post function
      • Retrieving field display value with Java API

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              christophe.prome@valiantys.com Christophe Promé
              Reporter:
              christophe.prome@valiantys.com Christophe Promé
              Votes:
              2 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: