• Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Minor Minor
    • core

      Steps to reproduce:

      1. Create a Freestyle project named

      Mike's test job

      and configure it to just run a shell command on a single node.

      2. Run it once (at least that's what I did - it probably isn't necessary.)

      3. Attempt to delete it using the "Delete Project" link on the left hand side of the job page at http://jenkins/job/Mike's%20test%20job/

      Expected result:

      A confirmation dialog box is displayed and then the job is deleted.

      Actual result:

      Nothing much happens. The URL in my address bar changes to http://jenkins/job/Mike's%20test%20job/# though. If I go back to the main Jenkins page I can still see my job listed.

      I repeated the experiment using a job name that did contain spaces but not the quote character and was able to successfully delete the job. I conjecture that it's the quote character in the job name that is causing the problem.

          [JENKINS-32366] Cannot delete job named "Mike's test job"

          Mike Crowe added a comment -

          After a bit more playing around I was able to delete the job by changing the URL to:

          http://jenkins/job/Mike%27s%20test%20job/

          (i.e. replace the quote with %27)

          and then clicking on the "Delete project" link.

          Mike Crowe added a comment - After a bit more playing around I was able to delete the job by changing the URL to: http://jenkins/job/Mike%27s%20test%20job/ (i.e. replace the quote with %27) and then clicking on the "Delete project" link.

          Oleg Nenashev added a comment -

          Duplicates JENKINS-31871

          Oleg Nenashev added a comment - Duplicates JENKINS-31871

            oleg_nenashev Oleg Nenashev
            mcrowe Mike Crowe
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: