]
Rob Stryker resolved JBIDE-4491.
--------------------------------
Resolution: Done
Good catch nick. Committed the fix.
cannot edit or delete XPaths in JBoss Server View after a rename
(view does not refresh?)
-----------------------------------------------------------------------------------------
Key: JBIDE-4491
URL:
https://jira.jboss.org/jira/browse/JBIDE-4491
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: JBossAS
Affects Versions: 3.0.0.GA
Reporter: Nick Boldt
Assignee: Rob Stryker
Fix For: 3.1.0.M3
Attachments: Screenshot-4.png
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: