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

New Contact action does not work on renamed folder

    XMLWordPrintable

Details

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

    Description

      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.

      Checklists

        Acceptance criteria

        Attachments

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Checklists

                  Bug DoR
                  Task DoD