[ https://issues.apache.org/jira/browse/OAK-11657?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17944778#comment-17944778 ]
Julian Reschke commented on OAK-11657: -------------------------------------- Another thing we should sort out is how we expect the methods to behave when namespace names (not prefixes) are broken? Garbage in / Garbage out? > JackrabbitSession.getExpandedName/Path need to return stable expanded names > --------------------------------------------------------------------------- > > Key: OAK-11657 > URL: https://issues.apache.org/jira/browse/OAK-11657 > Project: Jackrabbit Oak > Issue Type: Bug > Components: jackrabbit-api, jcr > Affects Versions: 1.78.0 > Reporter: Julian Reschke > Assignee: Julian Reschke > Priority: Major > > Right now, > https://github.com/apache/jackrabbit-oak/blob/81c09d18251380c604a31c5a399d834b001c7035/oak-jcr/src/test/java/org/apache/jackrabbit/oak/jcr/session/JackrabbitSessionTest.java#L74 > assumes that the expanded name changes when the session-local namespace > mapping changes. That's incorrect: the expanded name of an items is supposed > to be immutable oncer it is created; it's a stable identifier independant of > namespace prefix mappings. -- This message was sent by Atlassian Jira (v8.20.10#820010)