Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
3
-
Minor
-
0
-
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
- Create a page that starts with 'YYYY/MM/DD - <text>'. For example:
- "2022/11/18 - Test from Atlassian"
- Create a second page, and add a link to the first created page.
- 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
- is related to
-
CONFSERVER-31237 Linking to a page with a title of the format 0000/00/xx will cause the 'Page Information' page to break
- Gathering Impact
- mentioned in
-
Page Loading...