[jbosstools-issues] [JBoss JIRA] Created: (JBDS-712) cannot edit or delete XPaths in JBoss Server View after a rename (view does not refresh?)

Nick Boldt (JIRA) jira-events at lists.jboss.org
Wed Apr 29 14:48:46 EDT 2009


cannot edit or delete XPaths in JBoss Server View after a rename (view does not refresh?)
-----------------------------------------------------------------------------------------

                 Key: JBDS-712
                 URL: https://jira.jboss.org/jira/browse/JBDS-712
             Project: Developer Studio
          Issue Type: Bug
          Components: servers
    Affects Versions: 2.0.0.GA
            Reporter: Nick Boldt


1. Open the JBoss Server View
2. Expand XML Configuration > Ports.
3. Right-click > New XPath
4. Enter a name "foo", a pattern "//server/mbean[@name='jboss:service=Naming']/attribute[@name='Port']"
5. Click preview - note there are 3 child nodes (if server is running; 2 if not).
6. Click OK
7. Expand new "foo" node; note the same three child nodes / files as seen in the preview

So far, so good. Now to break things... 

8. Right-click the new "foo" XPath > Edit XPath. Rename the new XPath "foo2". View updates w/ new label
9. Right-click the new "foo2" XPath > Delete XPath. Nothing happens.
10. Right-click the new "foo2" XPath > Edit XPath. Change the pattern to "//attribute[@name='Port']"; preview and note that there are now nested nodes.
11. Click OK; view does not update w/ change.
12. If your server is not running, you can rename it back to "foo" and then delete it, but after renaming the pattern still won't refresh. 



-- 
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

        



More information about the jbosstools-issues mailing list