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

Invalid destinations showed in the UI when you try to move an item

    Details

    • Similar Issues:

      Description

      1. create a job A in a folder A
      2. create a job with the same name A in another folder B
      3. Then, the move option tells you can move to:
      Jenkins
      Jenkins >> Folder A
      Jenkins >> Folder B
      

      But this is wrong because Jenkins >> Folder A is the item itself and in Jenkins >> Folder B there is already an item with the same name.

        Attachments

          Issue Links

            Activity

            fbelzunc Félix Belzunce Arcos created issue -
            fbelzunc Félix Belzunce Arcos made changes -
            Field Original Value New Value
            Description 1. create a job A in a folder A
            2. create a job with the same name A in another folder B
            3. Then, the move option tells you you can move to:

            {code:java}
            Jenkins
            Jenkins >> Folder A
            Jenkins >> Folder B
            {code}

            But this is wrong because {{Jenkins >> Folder A}} is the item itself and in {{Jenkins >> Folder B}} there is already an item with the same name.
            1. create a job A in a folder A
            2. create a job with the same name A in another folder B
            3. Then, the move option tells you can move to:

            {code:java}
            Jenkins
            Jenkins >> Folder A
            Jenkins >> Folder B
            {code}

            But this is wrong because {{Jenkins >> Folder A}} is the item itself and in {{Jenkins >> Folder B}} there is already an item with the same name.
            fbelzunc Félix Belzunce Arcos made changes -
            Status Open [ 1 ] In Progress [ 3 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Manuel Recena
            Path:
            src/main/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandler.java
            src/test/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandlerTest.java
            http://jenkins-ci.org/commit/cloudbees-folder-plugin/adf523e258b28b5b9c3153dd2f85192df2de7664
            Log:
            Merge pull request #57 from fbelzunc/JENKINS-34306

            [FIXED JENKINS-34306] When moving an item several destinations showed in the GUI are not valid

            Compare: https://github.com/jenkinsci/cloudbees-folder-plugin/compare/218a42c11beb...adf523e258b2

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Manuel Recena Path: src/main/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandler.java src/test/java/com/cloudbees/hudson/plugins/folder/relocate/StandardHandlerTest.java http://jenkins-ci.org/commit/cloudbees-folder-plugin/adf523e258b28b5b9c3153dd2f85192df2de7664 Log: Merge pull request #57 from fbelzunc/ JENKINS-34306 [FIXED JENKINS-34306] When moving an item several destinations showed in the GUI are not valid Compare: https://github.com/jenkinsci/cloudbees-folder-plugin/compare/218a42c11beb...adf523e258b2
            scm_issue_link SCM/JIRA link daemon made changes -
            Status In Progress [ 3 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            recena Manuel Recena Soto made changes -
            Remote Link This issue links to "PR (Web Link)" [ 14278 ]
            recena Manuel Recena Soto made changes -
            Description 1. create a job A in a folder A
            2. create a job with the same name A in another folder B
            3. Then, the move option tells you can move to:

            {code:java}
            Jenkins
            Jenkins >> Folder A
            Jenkins >> Folder B
            {code}

            But this is wrong because {{Jenkins >> Folder A}} is the item itself and in {{Jenkins >> Folder B}} there is already an item with the same name.
            # create a job A in a folder A
            # create a job with the same name A in another folder B
            # Then, the move option tells you can move to:

            {code:java}
            Jenkins
            Jenkins >> Folder A
            Jenkins >> Folder B
            {code}

            But this is wrong because {{Jenkins >> Folder A}} is the item itself and in {{Jenkins >> Folder B}} there is already an item with the same name.
            fbelzunc Félix Belzunce Arcos made changes -
            Summary When moving an item several destinations showed in the GUI are not valid Invalid destinations showed in the UI when you try to move an item
            rtyler R. Tyler Croy made changes -
            Workflow JNJira [ 170386 ] JNJira + In-Review [ 198855 ]

              People

              • Assignee:
                fbelzunc Félix Belzunce Arcos
                Reporter:
                fbelzunc Félix Belzunce Arcos
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: