On 2016-07-11 15:00, Julian Reschke (JIRA) wrote:
Julian Reschke created JCR-3992:
-----------------------------------
Summary: JcrUtils.getOrCreateByPath broken by JCR-3987
Key: JCR-3992
URL: https://issues.apache.org/jira/browse/JCR-3992
Project: Jackrabbit Content Repository
Issue Type: Bug
Components: jackrabbit-jcr-commons
Affects Versions: 2.13.0
Reporter: Julian Reschke
Assignee: Julian Reschke
The code introduced with OAK-3987 fails for an input of
/rep:security/rep:authorizables/rep:groups/a/b/c
as, after discovering that
/rep:security/rep:authorizables/rep:groups
exists, it computes a remaining path of
/b/c
instead of
a/b/c
So we managed to not only break the code, but also make a release out of
it. I only noticed that when a ran unit tests on Oak using this
Jackrabbit version.
I'm really sorry.
I'm in the process of fixing this (including a minimal test case that
reproduces the problem).
Once that is committed, I'll temporarily bump up Oak's Jackrabbit
dependencies from the now old 2.13.0-SNAPSHOT to 2.13.1-SNAPSHOT in
order to prevent down-stream problems.
Once *that* is done, I'll cut another 2.13.* release.
Best regards, Julian