Details
-
Bug
-
Resolution: Fixed
-
Major
-
2.2.1
-
None
-
Unknown
-
Description
Instead of well an blank result...
To reproduce create a page empty or with only white spaces and access it using http://127.0.0.1:8080/xwiki/bin/view/Test/Get?xpage=plain
This is because whatever the issue the result of XWiki#parseTemplate and Utils#parseTemplate take any empty content like a non existing template. This is very wrong, XWiki#parseTemplate should throw exceptions when there is issues.
Attachments
Issue Links
- is duplicated by
-
XWIKI-1669 If a velocity template is empty, the "No template found" page is returned instead
- Closed