Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-10143

Opening KB articles from JSM fails to find articles when the ID is too large

    XMLWordPrintable

Details

    Description

      Issue Summary

      When the Confluence article ID is too large it is represented incorrectly in the frontend so the links don't work. The cause is that the frontend is storing the articleId as a string and then converting it to a number, which in Javascript is stored as a double-precision floating-point, so large IDs (greater than MAX_SAFE_INTEGER - 9007199254740991) begin to be affected by the limitations of floating point precision.

      Steps to Reproduce

      1. Create enough confluence articles such that the article ID is 9007199254740993 (or higher)

      Expected Results

      The link to KB article with ID 9007199254740993 from the Portal should have the ID as 9007199254740993

      Actual Results

      The link to KB article with ID 9007199254740993 from the Portal is 9007199254740992

      Workaround

      Currently there is no known workaround for this behavior. A workaround will be added here when available

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              290fa2844649 Julian G
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: