Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-94767

Unable to ORDER previous version of the page using 'change history' macro

    XMLWordPrintable

Details

    Description

      Issue Summary

      Using the page link in the 'Change History' macro leads to a 'Page Not Found' error when trying to order any of the columns. This could be a continuation of https://jira.atlassian.com/browse/CONFSERVER-82535 as the display issue is fixed, but now the issue continues when trying to order the columns in the macro. Please checked the attached video.

      Steps to Reproduce

      1. Create a page
      2. Make changes to the page and save multiple times.
      3. Add change history macro to the page.
      4. When we access the page we can see multiple versions of the page in the 'Change History' macro's list.
      5. When trying to order the previous versions of the page by any of the columns, we get a 'Page Not Found' error.

      Expected Results

      When order by column in the macro is selected, it should not break.

      Actual Results

      We get to see the 'Page Not Found' error and the below error is logged in the atlassian-confluence.log. It is somehow different from the https://jira.atlassian.com/browse/CONFSERVER-82535 Bug ticket, as it fails in diffpagesbyversion.action:

      2024-02-22 16:23:57,987 WARN [http-nio-8090-exec-4 url: /confluence/display/PD/diffpagesbyversion.action; user: admin] [apache.struts2.dispatcher.Dispatcher] logConfigurationException Could not find action or result: /confluence/display/PD/diffpagesbyversion.action
       -- url: /confluence/display/PD/diffpagesbyversion.action | userName: admin | referer: https://linux-64662.prod.atl-cd.net/confluence/display/PD/Page+with+history | traceId: 6edfbc1fd393c89f
      There is no Action mapped for namespace [/display/PD] and action name [diffpagesbyversion] associated with context path [/confluence]. - [unknown location]
      	at com.opensymphony.xwork2.DefaultActionProxy.prepare(DefaultActionProxy.java:183)
      	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 org.apache.struts2.dispatcher.Dispatcher.createActionProxy(Dispatcher.java:738)
      	at org.apache.struts2.dispatcher.Dispatcher.prepareActionProxy(Dispatcher.java:724)
      	at com.atlassian.confluence.impl.struts.ConfluenceStrutsDispatcher.prepareActionProxy(ConfluenceStrutsDispatcher.java:67)
      	at org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:687)
      	at com.atlassian.confluence.impl.struts.ConfluenceStrutsDispatcher.serviceAction(ConfluenceStrutsDispatcher.java:58)
      	at org.apache.struts2.dispatcher.ExecuteOperations.executeAction(ExecuteOperations.java:79)
      	at org.apache.struts2.dispatcher.filter.StrutsExecuteFilter.doFilter(StrutsExecuteFilter.java:111)
      	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:178)
      	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:153) 

      Workaround

      N/A

      Attachments

        Activity

          People

            Unassigned Unassigned
            a10ada9f39c1 betto
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: