Bug 780186 (SOA-2562)

Summary: FileSystemConnector does not process rename node properly after commit
Product: [JBoss] JBoss Enterprise SOA Platform 5 Reporter: Jiri Pechanec <jpechane>
Component: EDSAssignee: Default User <jbpapp-maint>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 5.1.0.ER4   
Target Milestone: ---   
Target Release: 5.1.0.ER5   
Hardware: Unspecified   
OS: Unspecified   
URL: http://jira.jboss.org/jira/browse/SOA-2562
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-06 11:31:06 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:

Description Jiri Pechanec 2010-11-10 12:01:49 UTC
project_key: SOA

This code does not work
		Node root = session.getRootNode();
		Node old = root.addNode("oldname", "nt:folder");
		session.save();
		session.move("/oldname", "/newname1");		
		session.save();

The second save throws an exception
        javax.jcr.InvalidItemStateException: Unable to find "/{}newname1"; lowest existing path is "/"
        at org.modeshape.jcr.SessionCache.save(SessionCache.java:410)
        at org.modeshape.jcr.JcrSession.save(JcrSession.java:1397)

The 'oldname' directory exists on the disk.

The issue appeared after resolution of SOA-2408

Comment 1 Jiri Pechanec 2010-11-10 12:02:18 UTC
Link: Added: This issue is related to SOA-2408


Comment 2 Van Halbert 2010-11-10 14:07:13 UTC
Link: Added: This issue Cloned to SOA-2564


Comment 3 Van Halbert 2010-11-10 20:27:31 UTC
Changes have been committed to the 2.2.x product branch and should be in the ER5 release.

Comment 4 Jiri Pechanec 2011-01-06 11:31:06 UTC
Verified in ER6