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

Number formatting breaks the URL to parent build flow

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: build-flow-plugin, core
    • Labels:
      None
    • Environment:
      Jenkins ver. 1.609.2
      build-flow-plugin 0.18
    • Similar Issues:

      Description

      When a build flow is started by another build with number greater than 1000, the link to the "parent" build flow is broken by inserting the "," (in our locale).

      Example HTML code:

      Started by build flow <a href="/job/project-jobs/job/SomeProject/job/some-buildflow/">project-jobs/SomeProject/some-buildflow</a> build number <a href="/job/project-jobs/job/SomeProject/job/some-buildflow/5,621">5,621</a>.

      The comma in "5,621" within the href breaks the URL.

      I was not sure which component is affects this issue, so I did a wild guess and also added "core".

        Attachments

          Issue Links

            Activity

            Hide
            laffoyb Barry Laffoy added a comment -

            It looks like a fix for this problem has already been merged to the build flow plugin: https://github.com/jenkinsci/build-flow-plugin/commit/e08453f5173b46adfafd547c0036255b486ec014

            Show
            laffoyb Barry Laffoy added a comment - It looks like a fix for this problem has already been merged to the build flow plugin: https://github.com/jenkinsci/build-flow-plugin/commit/e08453f5173b46adfafd547c0036255b486ec014
            Hide
            sm4rk0 Marko Stanković added a comment -

            Sorry for a duplicate. Just now found this older issue, although I've searched before opening the new one. Who should reject this?

            Show
            sm4rk0 Marko Stanković added a comment - Sorry for a duplicate. Just now found this older issue, although I've searched before opening the new one. Who should reject this?

              People

              • Assignee:
                Unassigned
                Reporter:
                sm4rk0 Marko Stanković
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated: