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

Config file provided via the REST api is missing "owner" tags

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core
    • None

      I was able to create a new view within an existing nested view, as described by Patric Boström in the comments for this issue:

      https://issues.jenkins-ci.org/browse/JENKINS-8927

      The new view is inserted correctly and works fine. However, this seems to have broken other nested views as they are no longer found (HTTP error 404). I have attached the error message written in jenkins the log file.

      It seems that when I get the config.xml via the REST api, it is missing the "owner" nodes. This can be seen by comparing get_config.xml (received via the REST api) and partial_config.xml (an extract from the jenkins config.xml file).

      As a work around, it is possible to insert them before updating the view.

        1. jenkins_error.txt
          11 kB
        2. get_config.xml
          19 kB
        3. partial_config.xml
          26 kB

            Unassigned Unassigned
            leanne_matuszyk Leanne Matuszyk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: