-
Bug
-
Resolution: Fixed
-
Major
-
1.6.3
-
None
-
-
Yes
-
Empty show more show less
I'm not talking about MGNLDATA-30, this is about node instances and not types.
Steps to reproduce, also in the current Magnolia online demo:
- Create a new type
- Create a subtype of the previous type
- Create a new node of the type in the appropriate menu, and a sub-item for that node
- Try renaming the sub-item
There will be an exception logged and an alert for the error, but in the end the rename will be completed anyway. You can try this in the online demo, for instance opening the "Company" and trying to rename "Jack-Middleman" to something else.
Full stack trace:
2011-08-01 12:35:32,253 ERROR info.magnolia.module.admininterface.AdminTreeMVCHandler.rename(AdminTreeMVCHandler.java:650) can't rename info.magnolia.module.admininterface.InvalidDialogHandlerException: No dialog handler for [null] found at info.magnolia.module.admininterface.DialogHandlerManager.getDialogConfigNode(DialogHandlerManager.java:147) at info.magnolia.module.data.trees.GenericDataAdminTree.renameNode(GenericDataAdminTree.java:170) at info.magnolia.module.admininterface.AdminTreeMVCHandler.rename(AdminTreeMVCHandler.java:646) at info.magnolia.module.admininterface.AdminTreeMVCHandler.saveValue(AdminTreeMVCHandler.java:618) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at info.magnolia.cms.servlets.MVCServletHandlerImpl.execute(MVCServletHandlerImpl.java:118) at info.magnolia.cms.servlets.CommandBasedMVCServletHandler.execute(CommandBasedMVCServletHandler.java:83) at info.magnolia.cms.servlets.MVCServlet.doPost(MVCServlet.java:123)
Acceptance criteria
- is depended upon by
-
MGNLDATA-131 Optionally use the name field only for new nodes, and avoid back-renaming.
- Closed
- is related to
-
MGNLDATA-127 Subtype dialog reload incorrectly after validation error.
- Closed