Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-2861

JSON objects in parsed with doublequotes (")

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: None
    • Security Level: Jimmy
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      When using a JSON object in a zul page through data binding, the JSON object is parsed with double quotes (") which render it incorrect.

      step to reproduce :
      load the attached example
      observe the source of the div, find the testjson attribute

      value is similar to :
      <div id="XXXXXX" class="z-div" testjson="

      {" id1":"value1","id2":"value2","id3":"value2"}

      "=""><span id="XXXXXX" class="z-label">check this div attributes</span></div>

      Data-handlers still work, but the resulting HTML is incorrect.

        Activity

        Hide
        jumperchen jumperchen added a comment -

        which FL version are you using?

        Show
        jumperchen jumperchen added a comment - which FL version are you using?
        Hide
        MDuchemin MDuchemin added a comment -

        This example was created using 8.0.0.FL.20150827-Eval
        Also reproduced with 8.0.0.FL.20150903-Eval

        Show
        MDuchemin MDuchemin added a comment - This example was created using 8.0.0.FL.20150827-Eval Also reproduced with 8.0.0.FL.20150903-Eval
        Hide
        jumperchen jumperchen added a comment -

        Bug fixed since 9/4/2015

        Show
        jumperchen jumperchen added a comment - Bug fixed since 9/4/2015

          People

          • Assignee:
            jumperchen jumperchen
            Reporter:
            MDuchemin MDuchemin
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 1 hour
              1h

                Agile