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

Saving the update center list after the metadata has been fetched results in the metadata being persisted twice

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Trivial Trivial
    • core
    • None

      hudson.model.UpdateSite's data field is not transient, so gets persisted despite the same information being stored at

      $JENKINS_HOME/updates/

      {id}

      .json

      Further that second source is canonical as it stores the raw JSON and not the parsed JSON and so if the Jenkins data model is updated to handle newer fields they will only be available when parsing the .json as oposed to when deserializing the .xml

          [JENKINS-15889] Saving the update center list after the metadata has been fetched results in the metadata being persisted twice

          Stephen Connolly created issue -
          Stephen Connolly made changes -
          Link New: This issue is related to JENKINS-13454 [ JENKINS-13454 ]
          SCM/JIRA link daemon made changes -
          Resolution New: Fixed [ 1 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 146691 ] New: JNJira + In-Review [ 192042 ]

            Unassigned Unassigned
            stephenconnolly Stephen Connolly
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: