Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
3.3-milestone-2
-
Unknown
-
Description
For example, clicking on a non-existing release notes link from the manager.xwiki.org wiki should create a document on the www.xwiki.org wiki. When it tries to fetch the list of possible document templates to apply, since that would be a cross-site AJAX request, the browser first tries to send an OPTIONS HTTP request to check if the server allows a CORS request. Since XWiki doesn't respond to OPTION requests, the AJAX request is blocked, and the user is left with an empty modal dialog.
Reproduction steps (on xwiki.org):
- On a subwiki create a page with a link to a missing main wiki page (e.g. xwiki:ReleaseNotes.Data.XWiki.11\.10\.45.WebHome)
- Click on the link
Expected result:
- a modal is displayed for the creation of the page to allow chosing the template
Obtained result:
- an empty modal is displayed