-
Bug
-
Resolution: Fixed
-
Medium
-
8.0.0, 8.2.0, 8.5.0, 8.0.3, 8.1.1, 8.4.1, 8.5.1, 8.5.4
-
1
-
Severity 2 - Major
-
0
-
Issue Summary
Using the page link in the 'Change History' macro leads to a 'Page Not Found' error.
The URL displayed in the Change History macro:
Confluence Version | URL from Change History macro | Working? |
---|---|---|
Confluence 8.0.0 | /display/<spacekey>/viewpage.action?pageId=<pageID> | ![]() |
Confluence 7.19.6 | /display/<spacekey>/viewpage.action?pageId=<pageID> | ![]() |
The URL displayed in the Page History list ( > Page History:
Confluence Version | URL from Change History macro | Working? |
---|---|---|
Confluence 8.0.0 | /pages/viewpage.action?pageId=<pageID> | ![]() |
Confluence 7.19.6 | /pages/viewpage.action?pageId=<pageID> | ![]() |
This is reproducible on Data Center: yes
Steps to Reproduce
- Create a page
- Make changes to the page and save multiple times.
- Add change history macro to the page.
- When we access the page we could see multiple versions of the page in the 'Change History' macro's list.
- When trying to navigate to a previous version of the page by clicking one of the links in the list, we get a 'Page Not Found' error.
Expected Results
When any page version is chosen, it should take us to the relevant version.
Actual Results
We get to see the 'Page Not Found' error and the below error is logged in the atlassian-confluence.log:
2023-03-23 16:14:58,946 WARN [http-nio-6813-exec-5] [apache.struts2.dispatcher.Dispatcher] logConfigurationException Could not find action or result: /c813/display/SX/viewpage.action?pageId=98380 -- url: /c813/display/SX/viewpage.action | userName: admin | referer: http://localhost:6813/c813/display/SX/Change+History+macro+test | traceId: 412bf3d3e8e9a26e There is no Action mapped for namespace [/display/SX] and action name [viewpage] associated with context path [/c813]. - [unknown location] at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:195) at org.apache.struts2.factory.StrutsActionProxy.prepare(StrutsActionProxy.java:57) at org.apache.struts2.factory.StrutsActionProxyFactory.createActionProxy(StrutsActionProxyFactory.java:32) at com.opensymphony.xwork2.DefaultActionProxyFactory.createActionProxy(DefaultActionProxyFactory.java:60) at com.atlassian.confluence.impl.struts.ConfluenceStrutsDispatcher.serviceAction(ConfluenceStrutsDispatcher.java:97) at org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79) at org.apache.struts2.dispatcher.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:77) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:189) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:162) at com.atlassian.plugin.servlet.filter.IteratingFilterChain.doFilter(IteratingFilterChain.java:39) at com.atlassian.plugin.servlet.filter.DelegatingPluginFilter.lambda$doFilter$0(DelegatingPluginFilter.java:57) at com.atlassian.confluence.plugins.baseurl.IncludeResourcesFilter.doFilter(IncludeResourcesFilter.java:52) [...]
Workaround
- Go to the page and choose
> Page History
- Choose a version number to view the content of that version.
- is cloned from
-
CONFSERVER-82535 Unable to view previous version of the page using 'change history' macro due to removed URL action mapping
-
- Closed
-