Issue Details (XML | Word | Printable)

Key: JCR-43
Type: Bug Bug
Status: Closed Closed
Resolution: Cannot Reproduce
Priority: Major Major
Assignee: Jukka Zitting
Reporter: angela
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Jackrabbit Content Repository

Restore on node creates same-name-sibling of OPV-Version child nodes

Created: 11/Feb/05 02:36 AM   Updated: 14/Jul/09 03:47 PM
Return to search
Component/s: jackrabbit-core, versioning
Affects Version/s: 0.9, 1.0
Fix Version/s: None

Time Tracking:
Not Specified

Environment: rev. 151731

Resolution Date: 08/Jan/09 11:35 AM


 Description  « Hide
Each call of Node.restore(String, boolean) creates a new same-name-sibling of any
OPV_Version child node:

- Create a node 'a' with nodetype nt:unstructured (defining it's childnodes to
  show OPV Version behaviour)
- Create a child node 'b'
- Make 'a' versionable (add mixin mix:versionable)
- Checkin/Checkout 'a'
- Restore any version of 'a'

result:
 a new same-name-sibling 'b[1]' of b is created on each call of 'a'.restore(String, boolean).

Is this the intended behaviour? Looks strange to me....

gruss
anchela



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Tobias Bocanegra made changes - 11/Feb/05 05:04 AM
Field Original Value New Value
Assignee Tobias Strasser [ tripod ]
Roy T. Fielding added a comment - 13/Mar/05 04:51 AM
reassign to versioning component

Roy T. Fielding made changes - 13/Mar/05 04:51 AM
Component/s versioning [ 11612 ]
Component/s jira [ 11404 ]
Jukka Zitting added a comment - 30/Jun/05 11:17 PM
Schedule for 1.0

Jukka Zitting made changes - 30/Jun/05 11:17 PM
Description Each call of Node.restore(String, boolean) creates a new same-name-sibling of any
OPV_Version child node:

- Create a node 'a' with nodetype nt:unstructured (defining it's childnodes to
  show OPV Version behaviour)
- Create a child node 'b'
- Make 'a' versionable (add mixin mix:versionable)
- Checkin/Checkout 'a'
- Restore any version of 'a'

result:
 a new same-name-sibling 'b[1]' of b is created on each call of 'a'.restore(String, boolean).

Is this the intended behaviour? Looks strange to me....

gruss
anchela

Each call of Node.restore(String, boolean) creates a new same-name-sibling of any
OPV_Version child node:

- Create a node 'a' with nodetype nt:unstructured (defining it's childnodes to
  show OPV Version behaviour)
- Create a child node 'b'
- Make 'a' versionable (add mixin mix:versionable)
- Checkin/Checkout 'a'
- Restore any version of 'a'

result:
 a new same-name-sibling 'b[1]' of b is created on each call of 'a'.restore(String, boolean).

Is this the intended behaviour? Looks strange to me....

gruss
anchela

Fix Version/s 1.0 [ 12310154 ]
Jukka Zitting made changes - 07/Mar/06 03:33 PM
Fix Version/s 1.1 [ 12310346 ]
Fix Version/s 1.0 [ 12310154 ]
Jukka Zitting made changes - 21/Mar/06 06:26 AM
Affects Version/s 0.9 [ 12310719 ]
Affects Version/s 1.0 [ 12310154 ]
Jukka Zitting made changes - 17/Sep/06 10:04 PM
Fix Version/s 1.1 [ 12310346 ]
Jukka Zitting made changes - 17/Oct/08 10:03 AM
Component/s jackrabbit-core [ 12310114 ]
Repository Revision Date User Message
ASF #732689 Thu Jan 08 11:34:00 UTC 2009 jukka JCR-43: Restore on node creates same-name-sibling of OPV-Version child nodes

Added a test case for this issue. Seems to pass nowadays.
Files Changed
ADD /jackrabbit/trunk/jackrabbit-core/src/test/java/org/apache/jackrabbit/core/integration/RestoreSameNameSiblingTest.java

Jukka Zitting added a comment - 08/Jan/09 11:35 AM
I can't reproduce this issue anymore on 1.6-SNAPSHOT.

Added a testcase o.a.j.core.integration.RestoreSameNameSiblingTest for this. Resolving as Cannot Reproduce.

Jukka Zitting made changes - 08/Jan/09 11:35 AM
Assignee Tobias Bocanegra [ tripod ] Jukka Zitting [ jukkaz ]
Resolution Cannot Reproduce [ 5 ]
Status Open [ 1 ] Resolved [ 5 ]
Jukka Zitting made changes - 07/Jul/09 01:01 PM
Workflow jira [ 40037 ] no-reopen-closed, patch-avail [ 12468184 ]
Jukka Zitting made changes - 14/Jul/09 03:47 PM
Status Resolved [ 5 ] Closed [ 6 ]