[ 
https://issues.apache.org/jira/browse/WICKET-3309?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Pedro Santos resolved WICKET-3309.
----------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5-M4
                   1.4.16

Problem 1 fix: asserting that AbstractTree#treeNodesInserted adds the new item 
to the dirtyItemsCreateDOM, since there is no parent node at client to be 
recreated.

Problem 2 fix: asserting that AbstractTree#treeNodesInserted don't add an not 
presented root node to the AJAX response by invalidating it.

> unable to add nodes to an empty rootless Tree (e.g. LinkTree)
> -------------------------------------------------------------
>
>                 Key: WICKET-3309
>                 URL: https://issues.apache.org/jira/browse/WICKET-3309
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.4.13, 1.4.14, 1.4.15
>            Reporter: Gabriel Bucher
>            Assignee: Pedro Santos
>             Fix For: 1.4.16, 1.5-M4
>
>         Attachments: quickstart.tar.gz, WICKET-3309.patch
>
>
> 2 scenarios which adding new nodes (via ajax) to a rootless Tree is not 
> working as expected.
> the node is getting added to the treemodel but non is displayed.
> 1) adding a node to the rootnode. the newly added node is not displayed.
> 2) the rootless tree already has a node. if you add additional nodes to the 
> root node, they will be displayed (compare to 1), if you add an additional 
> node to one of the added nodes, the complete tree will disappear.
> see attached quickstart

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to