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

changes with commit message "#1, #11" is not linked to redmine correctly

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • redmine-plugin
    • None
    • redmine-0.15 , Jenkins ver. 1.580.1

      The commit message "#1, #11" does not link to two redmine tickets in the changes view:
      I tried the following Test in the Code:

      assertAnnotatedTextEquals("#1, #11",
      "<a href='" + REDMINE_URL + "issues/1'>#1</a>, " +
      "<a href='" + REDMINE_URL + "issues/11'>#11</a>");

      Fails
      <a href='http://local.redmine/issues/1, #11'>#1, #11</a>

          [JENKINS-26084] changes with commit message "#1, #11" is not linked to redmine correctly

          Roman Pickl created issue -
          Roman Pickl made changes -
          Description Original: The commit message "#1, #11" does not link to to redmine tickets in the changes view:
          I tried the following Test in the Code:

          assertAnnotatedTextEquals("#1, #11",
                          "<a href='" + REDMINE_URL + "issues/1'>#1</a>, " +
                          "<a href='" + REDMINE_URL + "issues/11'>#11</a>");

          Fails
          <a href='http://local.redmine/issues/1, #11'>#1, #11</a>
          New: The commit message "#1, #11" does not link to two redmine tickets in the changes view:
          I tried the following Test in the Code:

          assertAnnotatedTextEquals("#1, #11",
                          "<a href='" + REDMINE_URL + "issues/1'>#1</a>, " +
                          "<a href='" + REDMINE_URL + "issues/11'>#11</a>");

          Fails
          <a href='http://local.redmine/issues/1, #11'>#1, #11</a>
          Roman Pickl made changes -
          Environment New: redmine-0.15 , Jenkins ver. 1.580.1

          Roman Pickl added a comment -

          i came up with a workaround and an improved version of the link annotator. see: https://github.com/jenkinsci/redmine-plugin/pull/17

          Roman Pickl added a comment - i came up with a workaround and an improved version of the link annotator. see: https://github.com/jenkinsci/redmine-plugin/pull/17
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 160074 ] New: JNJira + In-Review [ 180243 ]

            gaooh gaooh
            romanp Roman Pickl
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: