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

Job History Plugin 2.18.2 - XML view not working

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

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

            Hello farukh khan,

            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

            Show
            jochenafuerbacher Jochen A. Fürbacher added a comment - - edited Hello farukh khan , 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

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: