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

The "Claim it" link does not work when apostrophe used in any failure cause

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • claim-plugin
    • None
    • Jenkins version : 1.642.1
      claim-plugin version : 2.8
      OS : CentOS 6.5
      Container: OS package from Jenkins repo
      JDK: jdk1.8.0_45
      Browser: Chrome 48.0.2564.116 and Firefox 44.0.2

      We just upgraded our Jenkins today and the claim plugin was not working afterwards

      Clicking the claim link was not causing the claim dialogue to appear.

      Run the Chrome Console I see this error message

      "Uncaught SyntaxError: Unexpected identifier" and the error underline starting at the first apostrophe character (U+0027).

      When I click on the "Claim it" link I see "Uncaught ReferenceError: ShowPopup is not defined" in the console.

      I think the issue is related to the build failure analyzer integration as we also have the Build Failure Analyzer plugin installed and if I remove all the apostrophe characters in my "failure-cause-management" list then 2.8 works.

      I also found that downgrading the claim plugin to 2.7 fixed the problem which I guess makes sense if it does not have the build failure integration.

            ki82 Christian Bremer
            kevinhcross Kevin Cross
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved: