Uploaded image for project: 'Magnolia UI'
  1. Magnolia UI
  2. MGNLUI-1383

New Contact action does not work on renamed folder

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Neutral Neutral
    • 5.0
    • 5.0
    • content app

      Beta2 build:

      1. create a folder -> it gets the name "untitled"
      2. rename it (e.g. to "myContacts") -> it is renamed, and remains selected, but the selection name is still "/untitled"
      3. click "New contact", fill up the contact info, save -> a contact is created under /myContacts, but an exception is thrown to log:

      WARN info.magnolia.event.SimpleEventBus : Exception caught when dispatching event: null
      java.lang.NullPointerException
      at info.magnolia.ui.vaadin.integration.jcr.JcrItemUtil.getItemId(JcrItemUtil.java:114)
      ...

      4. the folder still keeps selected, but you can't create new contact in it - the action simply does nothing. (New folder, Rename and Delete work.) The "New contact" action does not work even ater unselecting and selecting the folder again (when the selection gets refreshed and shows properly "/myContacts"). You have reopen the Contacts App.

        Acceptance criteria

              ehechinger Eric Hechinger
              jchocholacek Jozef Chocholacek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Bug DoR
                  Task DoD