Details
-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
2.0 M3
-
None
-
redirect
-
Low
-
Hard
-
Description
To reproduce, create a page with this content:
$response.sendRedirect($xwiki.getURL("Sandbox.WebHome")
Now, since this page redirects it's hard to edit, so manually modify the URL for this page and put "edit" instead of "view". Now you'll be in the wysiwyg editor but the page cannot be editer. If you go in the source tab you'll even see the full HTML for the page you're redirected to.
I think that's because the wysiwyg editor executes the redirect. That's a difficult and general pb if we have code in velocity that changes things. There might be cases other than the redirect one.
Any idea of what we can do?
Not that to be able to edit the page I had to change my user's default editor to be the "text" one.
Attachments
Issue Links
- is duplicated by
-
XWIKI-15313 The search page (Main.Search) cannot be edited in WYSIWYG
- Closed
- relates to
-
XWIKI-3622 Add an automatic redirect when renaming a document
- Closed
1.
|
Show the current page is the result of a redirect | Open | Unassigned |