[
https://jira.jboss.org/jira/browse/DNA-490?page=com.atlassian.jira.plugin...
]
Brian Carothers updated DNA-490:
--------------------------------
Attachment: DNA-490.patch
Attached patch that corrects the off-by-one error with the knowledge that child index (as
opposed to SNS index) is 0-based.
JPA Connector Does Not Always Compute SNS Indices Correctly
-----------------------------------------------------------
Key: DNA-490
URL:
https://jira.jboss.org/jira/browse/DNA-490
Project: DNA
Issue Type: Bug
Components: Connectors
Affects Versions: 0.5
Reporter: Brian Carothers
Attachments: DNA-490.patch
The JPA connector has an off-by-one error that causes it to occasionally add two
same-name siblings with the same SNS index. This behavior can be seen if the JPA store is
used as the backing store for the JR TCK tests, as the data import contains two same-name
siblings (/testroot/node2 has a multi-word name/jcr:xmltext) that both get the SNS index
1.
--
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