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

checking the displayname for jobs inside folders is performed against items in root

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • core
    • None
    • Jenkins 2.453

      How to reproduce:

      1. Install folder plugin
      2. Create a freestyle job with name "project"
      3. create a folder with name "folder"
      4. create a freestyle job in the folder with name "subproject" 
      5. open configure page of "subproject" click on Advanced, enter in displayname "project"
      6. leave the text field
        -> You get a warning that the name "project" is already in use as a name by a job although in the folder is no conflicting job
      7. create a second job in the folder with name "p2"
      8. try to set the displayname of that second job to "subproject"
        No warning is shown although there is a conflict

       

          [JENKINS-72988] checking the displayname for jobs inside folders is performed against items in root

          Markus Winter created issue -
          Markus Winter made changes -
          Attachment New: image-2024-04-09-19-38-41-328.png [ 62433 ]
          Markus Winter made changes -
          Description Original: How to reproduce:
           # Install folder plugin
           # Create a freestyle job with name "project"
           # create a folder with name "folder"
           # create a freestyle job in the folder with name "subproject" 
           # open configure page of "subproject" click on Advanced, enter in displayname "project"
           # leave the text field
          -> You get a warning that the name "project" is already in use as a name by a job
           # create a second job in the folder with name "p2"
           # try to set the displayname of that second job to "subproject"
          No warning is shown

           
          New: How to reproduce:
           # Install folder plugin
           # Create a freestyle job with name "project"
           # create a folder with name "folder"
           # create a freestyle job in the folder with name "subproject" 
           # open configure page of "subproject" click on Advanced, enter in displayname "project"
           # leave the text field
          -> You get a warning that the name "project" is already in use as a name by a job although in the folder is conflicting job
           # create a second job in the folder with name "p2"
           # try to set the displayname of that second job to "subproject"
          No warning is shown although there is a conflict

           

          !image-2024-04-09-19-38-41-328.png|width=513,height=310!
          Markus Winter made changes -
          Description Original: How to reproduce:
           # Install folder plugin
           # Create a freestyle job with name "project"
           # create a folder with name "folder"
           # create a freestyle job in the folder with name "subproject" 
           # open configure page of "subproject" click on Advanced, enter in displayname "project"
           # leave the text field
          -> You get a warning that the name "project" is already in use as a name by a job although in the folder is conflicting job
           # create a second job in the folder with name "p2"
           # try to set the displayname of that second job to "subproject"
          No warning is shown although there is a conflict

           

          !image-2024-04-09-19-38-41-328.png|width=513,height=310!
          New: How to reproduce:
           # Install folder plugin
           # Create a freestyle job with name "project"
           # create a folder with name "folder"
           # create a freestyle job in the folder with name "subproject" 
           # open configure page of "subproject" click on Advanced, enter in displayname "project"
           # leave the text field
          -> You get a warning that the name "project" is already in use as a name by a job although in the folder is no conflicting job
           # create a second job in the folder with name "p2"
           # try to set the displayname of that second job to "subproject"
          No warning is shown although there is a conflict

           

          !image-2024-04-09-19-38-41-328.png|width=513,height=310!
          Markus Winter made changes -
          Assignee New: Markus Winter [ mawinter69 ]
          Markus Winter made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Markus Winter made changes -
          Remote Link New: This issue links to "PR-9152 (Web Link)" [ 29622 ]
          Mark Waite made changes -
          Released As New: 2.476, https://www.jenkins.io/changelog-stable/2.479.1/
          Resolution New: Fixed [ 1 ]
          Status Original: In Progress [ 3 ] New: Resolved [ 5 ]

            mawinter69 Markus Winter
            mawinter69 Markus Winter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: