myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Abhijit S Ghosh (JIRA)" <...@myfaces.apache.org>
Subject [jira] Updated: (TRINIDAD-1285) XMLMenuModel:groupNode fails to look up it's refNode
Date Fri, 31 Oct 2008 10:47:44 GMT

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

Abhijit S Ghosh updated TRINIDAD-1285:
--------------------------------------

    Status: Patch Available  (was: Open)

> XMLMenuModel:groupNode fails to look up it's refNode
> ----------------------------------------------------
>
>                 Key: TRINIDAD-1285
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-1285
>             Project: MyFaces Trinidad
>          Issue Type: Bug
>          Components: Components
>    Affects Versions: 1.2.9-core
>            Reporter: Abhijit S Ghosh
>
> The problem here seems to be that idNodeMap lookup is being done with the
> model id  appended twice to the nodeId which is why it is failing.This in turn
> causes getRefNode() to return null.
> The nodes are stored in the idNodeMap with nodeId+modelId as the key.When a groupNode
tries to do a getRefNode it appends the modelId and passes it to XMLMenuModel.getNode which
again appends it's modelId to the id which is then used as a key to lookup the map. 

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


Mime
View raw message