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

[Regression] No restore button in jobProjectHistory

    XMLWordPrintable

Details

    Description

      I'm unable to restore this job config.
      I guess the problem is located here.
      https://github.com/jenkinsci/job-config-history-plugin/blob/04b66d78555e2473d17f870019d25166661c369e/src/main/resources/hudson/plugins/jobConfigHistory/JobConfigHistoryProjectAction/index.jelly#L98-L114

      Query Address:
      http://<jenkins_base_url>/jobConfigHistory/history?name=adsasdasdfdsfsdfdsf_deleted_20220928_051630_293

      I was trying to locate and fix this bug by myself but i wasn't able to do this.
      I guess one of my changes connected to ux broke this.

      Attachments

        Activity

          timja Tim Jacomb added a comment - cc notmyfault

          dumam Which view are you at there? I got the restore button just fine, on Jenkins 2.373 and JCH 1176.v1b_4290db_41a_5

          notmyfault Alexander Brandes added a comment - dumam Which view are you at there? I got the restore button just fine, on Jenkins 2.373 and JCH 1176.v1b_4290db_41a_5
          dumam Bartosz Nowak added a comment -

          To reproduce this:

          -> please remove any job (you should be able to restore it from global config history)
          -> main dashboard
          -> select config history
          -> select filter to list deleted items

          Then next to removed job should be visible restore button. On this page you can also view config changes of every removed item. When you open it, last table row has info about removed job. Next to it should be a button to restore job.

          dumam Bartosz Nowak added a comment - To reproduce this: -> please remove any job (you should be able to restore it from global config history) -> main dashboard -> select config history -> select filter to list deleted items Then next to removed job should be visible restore button. On this page you can also view config changes of every removed item. When you open it, last table row has info about removed job. Next to it should be a button to restore job.

          People

            Unassigned Unassigned
            dumam Bartosz Nowak
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: