Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-15526

toJSON broken: [JENKINS-11618] reintroduced a bug fixed by prototypejs 1.7

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • core
    • None

      the script:
      JSON.stringify(

      {"a":[1,2]}

      )

      delivers the wrong result:

      • should: " {"a":[1,2]}

        "

      • actual: " {"a":"[1, 2]"}

        "

      hint:
      This was probably introduced by fix for JENKINS-11618

      The problem is that this behaviour breaks e.g. test automation support for SilkTest and WebDriver, and probably some other things too.

            Unassigned Unassigned
            alienllama Matthias Steinkogler
            Votes:
            2 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated: