Make deserialization of Map fields in XML files more robust

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Accidental serial compatibility mistakes like the one described in https://github.com/jenkinsci/hashicorp-vault-plugin/issues/326 should be limited in extent to the closest surrounding RobustFooConverter, which should report the warning to OldDataMonitor but otherwise ignore the broken element and continue deserialization normally.

      In that issue, a mistake involving a Map field in a folder property lead to the folder itself being corrupted in a way that caused further problems, which we would like to avoid.

      https://github.com/jenkinsci/jenkins/pull/9653 proposes a change to RobustMapConverter which would have limited the impact of this kind of mistake.

            Assignee:
            Devin Nusbaum
            Reporter:
            Devin Nusbaum
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: