Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-74914

Linking to a page with a title of the format "YYYY/MM/DD - <text>" will cause the 'Page Information' page to break

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Low
    • Page - Content
    • None

    Description

      Issue Summary

      This is reproducible on Data Center: Yes

      When a page has a title using a format that includes a date and some text after it, other pages that link to it will not be able to have the "Page information" part viewed due to a "500" error due to the "outgoing links" part not rendering it.

      Steps to Reproduce

      1. Create a page that starts with 'YYYY/MM/DD - <text>'. For example:
        1. "2022/11/18 - Test from Atlassian"
      1. Create a second page, and add a link to the first created page.
      2. Under the page with the link (second page), tap the ellipsis button at the top-right > Advanced information > Page information

      Expected Results

      The page information should be displayed.

      Actual Results

      The following error message is triggered in the UI:

      We'll be back in a flash

      We've encountered a small problem, but we should have it sorted out soon.

      Notes

      • From the internal logs, the following stack trace is observed (using the example from above):
      message: Unable to render Velocity Template, '/pages/viewinfo.vm'
      ...
       stack: org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getOutgoingLinks' in class com.atlassian.confluence.pages.actions.PageInfoAction threw exception java.lang.NumberFormatException: For input string: "2022/11/18 - Test from Atlassian" at /pages/viewinfo.vm[line 355, column 39]
      ...
      Caused by: java.lang.NumberFormatException: For input string: "2022/11/18 - Test from Atlassian"
      • If the page with the title in question has an attachment on the body (I.E. a PPTX), the error will happen on the page itself.

      Workaround

      On the page title, add the text before the date format.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              gdecampos Giuliano C.
              Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated: