jackrabbit-oak-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Deparvu (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (OAK-8054) RepMembersConflictHandler creates property with wrong type
Date Fri, 15 Feb 2019 15:14:00 GMT

     [ https://issues.apache.org/jira/browse/OAK-8054?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Alex Deparvu updated OAK-8054:
------------------------------
    Component/s: security

> RepMembersConflictHandler creates property with wrong type
> ----------------------------------------------------------
>
>                 Key: OAK-8054
>                 URL: https://issues.apache.org/jira/browse/OAK-8054
>             Project: Jackrabbit Oak
>          Issue Type: Bug
>          Components: core, security
>            Reporter: Alex Deparvu
>            Assignee: Alex Deparvu
>            Priority: Critical
>
> The {{RepMembersConflictHandler}} handler uses type {{STRING}} instead of {{WEAKREFERENCE}}
[0] as per the property's definition, which will trigger the type validation to fail the commit.
> Running external login tests I see that the type fails as soon as the handler comes into
play:
> {noformat}
> WARN  o.a.j.o.s.s.a.e.i.ExternalLoginModule - User synchronization failed during commit:
org.apache.jackrabbit.oak.api.CommitFailedException: OakConstraint0004: /rep:security/rep:authorizables/rep:groups/pathPrefix/g8/rep:membersList/9[[rep:MemberReferences]]:
No matching property definition found for rep:members = [8e490910-17b6-30c1-8e11-6abdfa8a4ebc,
1a8e79f5-428e-39e9-88bb-2b86bd9b402e, ... ]. (attempt 10/50)
> {noformat}
> This seems to be a pretty big issue, and I'm not yet sure why it wasn't caught by the
existing tests.
> // fyi [~anchela]
> [0] https://github.com/apache/jackrabbit-oak/blob/trunk/oak-core/src/main/java/org/apache/jackrabbit/oak/security/user/RepMembersConflictHandler.java#L135



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message