Details
-
Bug
-
Resolution: Fixed
-
Blocker
-
7.2
-
Unit
-
Unknown
-
N/A
-
N/A
-
Awaiting Contributor feedback
-
Description
A simple workaround might have been to set xwiki.unknownActionResponse=view, however, this will not work any longer because of this hack in com.xpn.xwiki.XWiki.prepareDocuments:
// TODO: This is a big hack and needs to be fixed ASAP. ATM the WebJAR feature is bound as an Entity Resource // Handler which is not correct. It should be using its own Resource Type (since it's not a Resource Entity). // For this we need to introduce a new Servlet/Filter to be able to hook in new Resource Types. When this // is done remove this. See also http://jira.xwiki.org/browse/XWIKI-11056 // Note: The action is "unknown" for webjars since it's not defined in struts-config.xml. // Note: Be careful to not add other unknown actions since permissions wouldn't be checked for those either... if (!context.getAction().equals("unknown")) {
Attachments
Issue Links
- is related to
-
XWIKI-12651 saveandcontinue space is created when xwiki.showviewaction=0
- Closed
-
XWIKI-12661 URL templates in javascript resources does not take hidden view action into account.
- Closed