Uploaded image for project: 'Magnolia Data Module (closed)'
  1. Magnolia Data Module (closed)
  2. MGNLDATA-130

Error while renaming sub-items.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 1.6.5, 1.7.2
    • 1.6.3
    • None
    • Yes

      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

              ochytil Ondrej Chytil
              dfghi Danilo Ghirardelli
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: