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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
      None
    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Ulli Hafner
            Path:
            src/main/java/hudson/plugins/warnings/GroovyParser.java
            src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java
            http://jenkins-ci.org/commit/warnings-plugin/2987adb60b54e0a0b471ba2c3e14384d680ba930
            Log:
            Improved fix for JENKINS-15526[FIXED JENKINS-16107].

            Compare: https://github.com/jenkinsci/warnings-plugin/compare/d677b1f5d9f1...2987adb60b54


            You received this message because you are subscribed to the Google Groups "Jenkins Commits" group.
            To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com.
            For more options, visit https://groups.google.com/groups/opt_out.

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Ulli Hafner Path: src/main/java/hudson/plugins/warnings/GroovyParser.java src/main/java/hudson/plugins/warnings/parser/ParserRegistry.java http://jenkins-ci.org/commit/warnings-plugin/2987adb60b54e0a0b471ba2c3e14384d680ba930 Log: Improved fix for JENKINS-15526 [FIXED JENKINS-16107] . Compare: https://github.com/jenkinsci/warnings-plugin/compare/d677b1f5d9f1...2987adb60b54 – You received this message because you are subscribed to the Google Groups "Jenkins Commits" group. To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-commits+unsubscribe@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out .
            Hide
            evernat evernat added a comment -

            The comment in this issue seems misleading.
            What should be the status of this issue? Should it be fixed?

            Show
            evernat evernat added a comment - The comment in this issue seems misleading. What should be the status of this issue? Should it be fixed?
            Hide
            danielbeck Daniel Beck added a comment -

            Is this still a problem in recent Jenkins versions? How can this be reproduced? What is the impact of this issue?

            Show
            danielbeck Daniel Beck added a comment - Is this still a problem in recent Jenkins versions? How can this be reproduced? What is the impact of this issue?

              People

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

                Dates

                Created:
                Updated: