Details
-
Bug
-
Resolution: Fixed
-
Major
-
1.2 M2
-
None
Description
For example after having deleted http://localhost:8080/xwiki/bin/view/XWiki/test, calling http://localhost:8080/xwiki/bin/delete/XWiki/test generates the following exception:
java.lang.NumberFormatException: null at java.lang.Long.parseLong(Long.java:372) at java.lang.Long.parseLong(Long.java:461) at com.xpn.xwiki.web.DeleteAction.action(DeleteAction.java:53) at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:147)
This is because there's no check on the id parameter that needs to be passed to delete a document from the recycle bin