| Summary: | FileSystemConnector does not process rename node properly between commits | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Jiri Pechanec <jpechane> |
| Component: | EDS | Assignee: | Van Halbert <vhalbert> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.1.0.ER2 | ||
| Target Milestone: | --- | ||
| Target Release: | 5.1.0.ER4 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-2408 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2010-11-10 12:02:58 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Link: Added: This issue depends MODE-944 ModeShape fix was checked into the 2.2.x product branch and should be in the ER4 build. Verified in ER4 Link: Added: This issue related SOA-2562 |
project_key: SOA If a new node is created on JcrSession (folder) and then moved to another name (rename) then after the commit the original name is still in place. Code Node root = session.getRootNode(); Node old = root.addNode("oldname", "nt:folder"); System.out.println("Old present: " + session.nodeExists("/oldname")); session.move("/oldname", "/newname"); System.out.println("Old present: " + session.nodeExists("/oldname")); System.out.println("New present: " + session.nodeExists("/newname")); session.save(); System.out.println("Old present: " + session.nodeExists("/oldname")); System.out.println("New present: " + session.nodeExists("/newname")); Gives [testng] Old present: true [testng] Old present: false [testng] New present: true [testng] Old present: true [testng] New present: false And the file system contains oldname directory instead of newname