XWiki Core

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 Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.2.2
  • Fix Version/s: 2.3 M1
  • Component/s: Actions and URLs
  • Difficulty:
    Unknown
  • Description:
    Hide

    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.

    Show
    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.

Activity

Hide
CalebJamesDeLisle added a comment - 12/Mar/10 09:30

r27595 Made UnknownAction conform to checkstyle.

Show
CalebJamesDeLisle added a comment - 12/Mar/10 09:30 r27595 Made UnknownAction conform to checkstyle.
Hide
CalebJamesDeLisle added a comment - 16/Mar/10 09:56

r27643 should be fixed.

Show
CalebJamesDeLisle added a comment - 16/Mar/10 09:56 r27643 should be fixed.
Hide
CalebJamesDeLisle added a comment - 12/Apr/10 16:56

Forgot to close this issue. Sorry.

Show
CalebJamesDeLisle added a comment - 12/Apr/10 16:56 Forgot to close this issue. Sorry.

People

Dates

  • Created:
    08/Mar/10 05:45
    Updated:
    12/Apr/10 16:56
    Resolved:
    12/Apr/10 16:56