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

Test case names are not escaped properly in showStackTrace button

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • robot-plugin
    • None
    • Robot Framework plugin 3.5.1
    • 3.5.2

      Test case names containing special characters or strings like '/', '%' or '%F2' break the link in the showStackTrace (little + sign) button in the 'Failed Test Cases' section in the 'Robot results' page. Expanding the stack trace view with said button results in various errors depending on the case name, as shown in the attached image. In the image the case with '%2F' has a + button which does nothing at all. However, all off the links next to the + buttons do work.

      This seems similar to the now closed JENKINS-32009, though that one seems to be about the links and not the stack trace button.

          [JENKINS-73029] Test case names are not escaped properly in showStackTrace button

          Aleksi Simell added a comment -

          Hi,

          Thanks for submitting the issue. I'll take a look at this.

          Aleksi Simell added a comment - Hi, Thanks for submitting the issue. I'll take a look at this.

          Aleksi Simell added a comment -

          Pull request created to fix this issue.

          Aleksi Simell added a comment - Pull request created to fix this issue.

          Aleksi Simell added a comment -

          PR merged and release created.

          Aleksi Simell added a comment - PR merged and release created.

            aleksisimell Aleksi Simell
            jorm1s Miikka Jormanainen
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: