Details
-
Bug
-
Resolution: Fixed
-
Medium
-
3.2
Description
Attempting to add pages using Left Nav theme will throw this error:
Error occurred during template rendering: Invocation of method 'renderNavigation' in class com.atlassian.confluence.extra.leftnavigation.LeftNavVelocityHelper threw exception java.lang.NumberFormatException: For input string: "$page.id" at templates/leftnavigation/main.vmd[line 49, column 34]. Contact your administrator for assistance.
A more detailed, but similar error is reported in the atlassian-confluence.log:
2010-03-26 10:36:34,019 ERROR [http-8080-5] [confluence.util.profiling.ConfluenceSitemeshDecorator] renderToResponse Error occurred rendering template: templates/leftnavigation/main.vmd -- url: /pages/createpage.action | userName: admin | referer: http://localhost:8080/display/support/navigation org.apache.velocity.exception.MethodInvocationException: Invocation of method 'renderNavigation' in class com.atlassian.confluence.extra.leftnavigation.LeftNavVelocityHelper threw exception java.lang.NumberFormatException: For input string: "$page.id" at templates/leftnavigation/main.vmd[line 49, column 34]
This is caused by extending the Left Nav theme by using a "Navigation" page as detailed here: http://confluence.atlassian.com/display/DOC/Customising+the+Left+Navigation+Theme
Removing or renaming the "Navigation" page will allow pages to be added again.