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

HierarchicalJcrContainer#getParent(Object) tries to determine parent of root node resulting in log messages

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Neutral
    • Resolution: Fixed
    • Affects Version/s: 5.4.6
    • Fix Version/s: 5.4.10, 5.5.1
    • Component/s: None
    • Labels:
    • Sprint:
      Basel 70
    • Story Points:
      1

      Description

      info.magnolia.ui.workbench.tree.HierarchicalJcrContainer#getParent(Object) tries to determine the parent of a passed root node, resulting in an unnecessary log statement (due to exception).

      [INFO] [talledLocalContainer] 2016-06-14 19:44:40,301 WARN  agnolia.ui.workbench.tree.HierarchicalJcrContainer: Cannot determine parent for itemId: info.magnolia.ui.vaadin.integration.jcr.JcrNodeItemId@2b88f047: javax.jcr.ItemNotFoundException: Root node doesn't have a parent
      

      How to reproduce

      1. Goto security app
      2. Edit role's "web access"
      3. Save

      See four statements like:

      [INFO] [talledLocalContainer] 2016-09-27 13:03:55,248 WARN  agnolia.ui.workbench.tree.HierarchicalJcrContainer: Cannot determine parent for itemId: info.magnolia.ui.vaadin.integration.jcr.JcrNodeItemId@2b88f047: javax.jcr.ItemNotFoundException: Root node doesn't have a parent
      [INFO] [talledLocalContainer] 2016-09-27 13:03:55,255 WARN  agnolia.ui.workbench.tree.HierarchicalJcrContainer: Cannot determine parent for itemId: info.magnolia.ui.vaadin.integration.jcr.JcrNodeItemId@2b88f047: javax.jcr.ItemNotFoundException: Root node doesn't have a parent
      [INFO] [talledLocalContainer] 2016-09-27 13:03:55,262 WARN  agnolia.ui.workbench.tree.HierarchicalJcrContainer: Cannot determine parent for itemId: info.magnolia.ui.vaadin.integration.jcr.JcrNodeItemId@51e8122: javax.jcr.ItemNotFoundException: Root node doesn't have a parent
      [INFO] [talledLocalContainer] 2016-09-27 13:03:55,290 WARN  agnolia.ui.workbench.tree.HierarchicalJcrContainer: Cannot determine parent for itemId: info.magnolia.ui.vaadin.integration.jcr.JcrNodeItemId@2b88f047: javax.jcr.ItemNotFoundException: Root node doesn't have a parent
      

        Checklists

        Acceptance criteria

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                ilgun Ilgun Ilgun
                Reporter:
                pmundt Philip Mundt
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    Checklists

                    Bug DoR
                    DoD