[ 
https://issues.apache.org/jira/browse/OFBIZ-4971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13450431#comment-13450431
 ] 

Jacques Le Roux commented on OFBIZ-4971:
----------------------------------------

Thanks Daniel,

Indeed this fixes a NPE which is throwed else.

Now I wanted to see if there are no regressions. And I used 
https://localhost:8443/workeffort/control/ChildWorkEfforts?workEffortId=9002&workEffortId={9002%2C+9002}&trail=9002|9003|9005

Unfortunately this fails when you click on the root node. It's *not related to 
this patch* since it can be reproduced at 
https://demo-trunk.ofbiz.apache.org/workeffort/control/ChildWorkEfforts?workEffortId=9002&workEffortId={9002%2C+{9002%2C+9002}}&trail=

My time is over this morning, I will get to it later when I will get a chance. 
Of course no needs to say that any help is appreciated.
                
> Improve Tree Widget to support Multiple PK Entities
> ---------------------------------------------------
>
>                 Key: OFBIZ-4971
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-4971
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: SVN trunk
>            Reporter: Daniel Riquelme
>              Labels: patch
>             Fix For: SVN trunk
>
>         Attachments: OFBIZ-4971.patch
>
>
> The PKs are used to keep track of which nodes have been rendered when 
> performing recursion inside Tree Widget rendering code.
> Currently Multiple PKs Entities can't be used as nodes in a Tree Widget 
> because the rendering code does not handle them.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to