You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-issues@jackrabbit.apache.org by "angela (JIRA)" <ji...@apache.org> on 2012/10/09 20:22:04 UTC
[jira] [Created] (OAK-369) missing support for relative path
consisting of parent-element
angela created OAK-369:
--------------------------
Summary: missing support for relative path consisting of parent-element
Key: OAK-369
URL: https://issues.apache.org/jira/browse/OAK-369
Project: Jackrabbit Oak
Issue Type: Bug
Components: jcr
Reporter: angela
Priority: Minor
Fix For: 0.3
Persisting paths in properties of type "path" requires that we can round-trip relative JCR paths through the oak-core persistence, such as
../foobar
or
.
Note that these paths still need prefix remapping so that they are stable with respect to session prefix remappings.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Resolved] (OAK-369) missing support for relative path
consisting of parent-element
Posted by "Michael Dürig (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Michael Dürig resolved OAK-369.
-------------------------------
Resolution: Fixed
Fix Version/s: 0.6
Assignee: Michael Dürig
Fixed at revision 1411900
> missing support for relative path consisting of parent-element
> --------------------------------------------------------------
>
> Key: OAK-369
> URL: https://issues.apache.org/jira/browse/OAK-369
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: angela
> Assignee: Michael Dürig
> Priority: Minor
> Fix For: 0.6
>
>
> could not reopen OAK-95 -> cloning.
> during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):
> {code}
> @Test
> public void getNode3() throws RepositoryException {
> Node node = getNode("/foo");
> Node root = node.getNode("..");
> assertNotNull(root);
> assertEquals("", root.getName());
> assertTrue("/".equals(root.getPath()));
> }
> :
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OAK-369) missing support for relative path
consisting of parent-element
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated OAK-369:
-----------------------
Description:
could not reopen OAK-95 -> cloning.
during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):
@Test
public void getNode3() throws RepositoryException {
Node node = getNode("/foo");
Node root = node.getNode("..");
assertNotNull(root);
assertEquals("", root.getName());
assertTrue("/".equals(root.getPath()));
}
was:
Persisting paths in properties of type "path" requires that we can round-trip relative JCR paths through the oak-core persistence, such as
../foobar
or
.
Note that these paths still need prefix remapping so that they are stable with respect to session prefix remappings.
> missing support for relative path consisting of parent-element
> --------------------------------------------------------------
>
> Key: OAK-369
> URL: https://issues.apache.org/jira/browse/OAK-369
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: angela
> Priority: Minor
> Fix For: 0.3
>
>
> could not reopen OAK-95 -> cloning.
> during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):
> @Test
> public void getNode3() throws RepositoryException {
> Node node = getNode("/foo");
> Node root = node.getNode("..");
> assertNotNull(root);
> assertEquals("", root.getName());
> assertTrue("/".equals(root.getPath()));
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OAK-369) missing support for relative path
consisting of parent-element
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated OAK-369:
-----------------------
Fix Version/s: (was: 0.3)
> missing support for relative path consisting of parent-element
> --------------------------------------------------------------
>
> Key: OAK-369
> URL: https://issues.apache.org/jira/browse/OAK-369
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: angela
> Priority: Minor
>
> could not reopen OAK-95 -> cloning.
> during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):
> @Test
> public void getNode3() throws RepositoryException {
> Node node = getNode("/foo");
> Node root = node.getNode("..");
> assertNotNull(root);
> assertEquals("", root.getName());
> assertTrue("/".equals(root.getPath()));
> }
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (OAK-369) missing support for relative path
consisting of parent-element
Posted by "angela (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/OAK-369?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
angela updated OAK-369:
-----------------------
Description:
could not reopen OAK-95 -> cloning.
during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):
{code}
@Test
public void getNode3() throws RepositoryException {
Node node = getNode("/foo");
Node root = node.getNode("..");
assertNotNull(root);
assertEquals("", root.getName());
assertTrue("/".equals(root.getPath()));
}
:
{code}
was:
could not reopen OAK-95 -> cloning.
during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):
@Test
public void getNode3() throws RepositoryException {
Node node = getNode("/foo");
Node root = node.getNode("..");
assertNotNull(root);
assertEquals("", root.getName());
assertTrue("/".equals(root.getPath()));
}
> missing support for relative path consisting of parent-element
> --------------------------------------------------------------
>
> Key: OAK-369
> URL: https://issues.apache.org/jira/browse/OAK-369
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: jcr
> Reporter: angela
> Priority: Minor
>
> could not reopen OAK-95 -> cloning.
> during testing of user-mgt api found that relpath consisting of a single parent element doesn't work (but used to):
> {code}
> @Test
> public void getNode3() throws RepositoryException {
> Node node = getNode("/foo");
> Node root = node.getNode("..");
> assertNotNull(root);
> assertEquals("", root.getName());
> assertTrue("/".equals(root.getPath()));
> }
> :
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira