Uploaded image for project: 'RichFaces'
  1. RichFaces
  2. RF-980

TreeModel - exception when deleting node

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: 3.1.0
    • Fix Version/s: 3.1.4, 3.2.0
    • Component/s: None
    • Labels:
      None

      Description

      Attempting to delete last node within any recursive node set results in exception

      java.lang.IllegalStateException: No tree element available or row key not set!
      org.richfaces.model.StackingTreeModel.isLeaf(StackingTreeModel.java:252)
      org.richfaces.component.UITree.isLeaf(UITree.java:426)
      org.richfaces.renderkit.html.TreeNodeRenderer.doEncodeBegin(TreeNodeRenderer.java:158)
      org.richfaces.renderkit.html.TreeNodeRenderer.doEncodeBegin(TreeNodeRenderer.java:86)

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ayanul Aleksej Yanul
                Reporter:
                maksimkaszynski Maksim Kaszynski
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: