Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-4986

If xwiki.unknownActionResponse=view and users view a page which doesn't exist with unknown action, they get an empty page instead of "not found".

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.2.2
    • Fix Version/s: 2.3 M1
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      Test case:
      open xwiki.cfg and set
      xwiki.unknownActionResponse=view

      open /xwiki/bin/Some/NonexistantPage
      observe an empty page instead of the desired page not found error.

      The problem is UnknownAction.render returns "view" but doesn't set the action in the context to view and the page nonexistant message depends on the action in the context being view.

        Attachments

          Activity

            People

            • Assignee:
              calebjamesdelisle CalebJamesDeLisle
              Reporter:
              calebjamesdelisle CalebJamesDeLisle
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: