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

Need a robust Map converter

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Jenkins includes a robust XStream converter for Collection, but none for Map; so if one value in a stored HashMap (say) refers to a disabled plugin, the entire map field is left null.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Jesse Glick
            Path:
            changelog.html
            core/src/main/java/hudson/util/RobustMapConverter.java
            core/src/main/java/hudson/util/XStream2.java
            http://jenkins-ci.org/commit/jenkins/8109b9e81163eee9967505a2f70b97fd3f706e3b
            Log:
            [FIXED JENKINS-22398] RobustMapConverter

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Jesse Glick Path: changelog.html core/src/main/java/hudson/util/RobustMapConverter.java core/src/main/java/hudson/util/XStream2.java http://jenkins-ci.org/commit/jenkins/8109b9e81163eee9967505a2f70b97fd3f706e3b Log: [FIXED JENKINS-22398] RobustMapConverter
            Hide
            dogfood dogfood added a comment -

            Integrated in jenkins_main_trunk #3264
            [FIXED JENKINS-22398] RobustMapConverter (Revision 8109b9e81163eee9967505a2f70b97fd3f706e3b)

            Result = UNSTABLE
            Jesse Glick : 8109b9e81163eee9967505a2f70b97fd3f706e3b
            Files :

            • core/src/main/java/hudson/util/XStream2.java
            • changelog.html
            • core/src/main/java/hudson/util/RobustMapConverter.java
            Show
            dogfood dogfood added a comment - Integrated in jenkins_main_trunk #3264 [FIXED JENKINS-22398] RobustMapConverter (Revision 8109b9e81163eee9967505a2f70b97fd3f706e3b) Result = UNSTABLE Jesse Glick : 8109b9e81163eee9967505a2f70b97fd3f706e3b Files : core/src/main/java/hudson/util/XStream2.java changelog.html core/src/main/java/hudson/util/RobustMapConverter.java
            Hide
            danielbeck Daniel Beck added a comment -

            1.56x has it already.

            Show
            danielbeck Daniel Beck added a comment - 1.56x has it already.

              People

              Assignee:
              jglick Jesse Glick
              Reporter:
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: