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

View.onJobRenamed should be deprecated

    Details

    • Similar Issues:

      Description

      View.onJobRenamed does not work well with item groups. Jenkins could instead include a single ItemListener which told views when a job was renamed, relieving the code doing the rename (such as in Jenkins or Folder) from having to call this method. (Same for deletions.) That would also allow views to be notified when a job in a subfolder (which ListView now supports) is renamed, which is currently not possible. Perhaps onJobRenamed should be deprecated, and a new callback introduced which can handle jobs in subfolders and also cross-folder moves.

        Attachments

          Issue Links

            Activity

            jglick Jesse Glick created issue -
            jglick Jesse Glick made changes -
            Field Original Value New Value
            Link This issue is related to JENKINS-18028 [ JENKINS-18028 ]
            jglick Jesse Glick made changes -
            Link This issue is duplicated by JENKINS-21075 [ JENKINS-21075 ]
            jglick Jesse Glick made changes -
            Labels api folders folders lts-candidate
            jglick Jesse Glick made changes -
            Labels folders lts-candidate api folders lts-candidate
            jglick Jesse Glick made changes -
            Assignee Jesse Glick [ jglick ]
            jglick Jesse Glick made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            jglick Jesse Glick made changes -
            Labels api folders lts-candidate api folders
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-22769 [ JENKINS-22769 ]
            jglick Jesse Glick made changes -
            Link This issue depends on JENKINS-25276 [ JENKINS-25276 ]
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 150028 ] JNJira + In-Review [ 193389 ]

              People

              • Assignee:
                jglick Jesse Glick
                Reporter:
                jglick Jesse Glick
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: