if newly discovered Resource has not been added to the navtree yet, clicking on a link to
that Resource off its parent's Summary tab redirects to the Platform, rather than that
Resource
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Key: EMBJOPR-53
URL:
https://jira.jboss.org/jira/browse/EMBJOPR-53
Project: Embedded Jopr
Issue Type: Bug
Components: Web App/Integration
Affects Versions: 1.0
Reporter: Ian Springer
Assignee: Ian Springer
Fix For: 1.1
To reproduce this, copy a new WAR file into the deploy dir. Then expand or collapse some
node in the navtree **other than the "Web Application (WAR)s" ResourceType
node**. This will cause the new WAR to get discovered, but no corresponding node to be
added to the navtree.
This is occurring because NavigationAction.getSelectedNode() is failing to lookup the node
corresponding to the Resource, because the navtree hasn't been updated since the
Resource was discovered.
The following message is logged:
[DEBUG] Unable to find node with path [-77]; defaulting to platform node...
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira