-
Bug
-
Resolution: Fixed
-
Highest
-
8.7.2, 8.5.5
-
72
-
Severity 3 - Minor
-
844
-
Summary
When a user checks the "Save for Later" Tab under Profiles and has pages created by other users marked as favourite, below error is encountered
When user only has self created pages marked as favourite , there is no error
Reproduction Steps
- Install Confluence version 8.5.5 with Java17 (use the installer method)
- Create two users, User 1 and User2
- Create a Page, logged in as User1
- Now Log in as User2 and Mark the Page created by User 1 as "Save for Later"
- Choose your profile picture at top-right of the screen, then choose Saved for later
Actual Result
Error in logs:
2024-01-19 07:24:02,371 ERROR [http-nio-8090-exec-10 url: /users/viewmyfavourites.action; user: user2] [views.velocity.result.VelocityResult] doExecute Unable to render velocity template: '/users/myfavourites.vm' -- url: /users/viewmyfavourites.action | userName: user2 | action: viewmyfavourites | referer: http://10.140.17.239:8090/users/viewmyprofile.action | traceId: b49b1295fc517c97 org.apache.velocity.exception.MethodInvocationException: Invocation of method 'getRenderedTemplateHtml' in class com.atlassian.confluence.plugins.soy.VelocityFriendlySoyTemplateRenderer threw exception java.lang.StackOverflowError at /users/myfavourites.vm[line 30, column 44]
Expected results
Workaround:
We recommend you choose one of the following options to workaround this issue:
- Use Java 11, as this behavior is only on Java 17, or
- Change <installation_directory>/confluence/includes/soy/pagelist.soy line #358 from
Old value:{if $user and $user != ''}
New Value:
{if $user}
- relates to
-
CONFSERVER-97920 Clicking on the "Saved for Later" option under profiles , leads to system error
- Waiting for Release