Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
15.0-rc-1
-
None
-
Windows 11 Pro, Edge 109, using a local instance of XWiki 15.0 on MariaDB 10.6, Tomcat 9.0.71
-
Unknown
-
Description
STEPS TO REPRODUCE
- Create a page (e.g. on root, named TestPage)
- Upload a file and then delete it
- Make a request for it from the recycle bin using a non-existent rid parameter in the query string (ex: /xwiki/bin/downloadrev/TestPage/yourfile.jpg?rev=1.1&rid=144)
EXPECTED RESULTS
An error is displayed informing that the respective attachment does not exist.
ACTUAL RESULTS
A NullPointerException is displayed.
However, if the file is uploaded inside Sandbox Application pages (e.g. Sandbox.WebHome or Sandbox.TestPage1) the correct error is displayed.
Attachments
Issue Links
- relates to
-
XWIKI-20496 Making a request for a deleted attachment with the wrong rid causes NPE
- Closed