|
Not sure why this was assigned to me. Moving it to B2 and unassigning it for now.
Not sure if this is a correct fix, but if you modify the XWiki.ClassSheet from:
The first thing to do is to <a href="$doc.getURL("edit", "xpage=editclass")">Edit the Class</a> to add properties to it. to: The first thing to do is to <a href="$doc.getURL("edit", "editor=class")">Edit the Class</a> to add properties to it. Then the ClassEditor appears as expected.... Thanks for the comment, it helped me locate the problem.
The editclass.vm template always redirects to the "admin" mode. The proper fix is to change in skins/xwiki10b1/editclass.vm, line 2 from: $response.sendRedirect($doc.getURL("admin", "editor=class")) to $response.sendRedirect($doc.getURL($context.action, "editor=class"))
|
||||||||||||||||||||||||||||||||||||||||||||||
http://localhost:8080/xwiki/bin/edit/XWiki/TestClass?editor=class
looks like the redirected url is incorrectly setting to .xwiki/bin/admin instead of xwiki/bin/edit