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

Job History Plugin 2.18.2 - XML view not working

      XML view option for Job Config History stopped working after upgrading the Jenkins LTS 2.121.1 to 2.138.1. Job Configuration History Plugin 1.18 to 1.18.2.

      Viewing as RAW works, however XML throws an error 

      This page contains the following errors:
      error on line 1 at column 1: Document is empty

      Below is a rendering of the page up to the first error.

          [JENKINS-54146] Job History Plugin 2.18.2 - XML view not working

          Jochen A. Fürbacher added a comment - - edited

          Hello farukhkhan123,

          thanks for opening this issue. However, this is not an issue of JobConfigHistory.

          In Jenkins core 2.105 XML 1.1 was introduced (see: JENKINS-48463). Most XML parsers of webbrowsers do not support XML 1.1 yet. When you try to view config files persisted with an earlier jenkins core version than 2.105, there won't be any problem as the XML files are still of version 1.0.

          So the issue is related to the XML parser of your webbrowser.

          Jochen

          Jochen A. Fürbacher added a comment - - edited Hello farukhkhan123 , thanks for opening this issue. However, this is not an issue of JobConfigHistory. In Jenkins core 2.105 XML 1.1 was introduced (see: JENKINS-48463 ). Most XML parsers of webbrowsers do not support XML 1.1 yet. When you try to view config files persisted with an earlier jenkins core version than 2.105, there won't be any problem as the XML files are still of version 1.0. So the issue is related to the XML parser of your webbrowser. Jochen

            stefanbrausch Stefan Brausch
            farukhkhan123 farukh khan
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: