[
https://issues.apache.org/jira/browse/OAK-2994?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dominique Jäggi updated OAK-2994:
---------------------------------
Fix Version/s: 1.2.19
> AbstractSecurityTest#getUserManager(Root) doesn't create new instances
> ----------------------------------------------------------------------
>
> Key: OAK-2994
> URL: https://issues.apache.org/jira/browse/OAK-2994
> Project: Jackrabbit Oak
> Issue Type: Improvement
> Components: core
> Reporter: angela
> Assignee: angela
> Priority: Minor
> Fix For: 1.3.1, 1.4, 1.2.19
>
>
> i just happened to struggle with my own test-setup that remembers the user
> manager created for the specified {{Root}} in
> {{AbstractSecurityTest.getUserManager}}. When called with a different root
> later on it will return an instance associated with a wrong root instance.
> the fix could be any of the following:
> - don't remember the user manager
> - only remember instance for the {{root}} field and make sure only user
> mangers for the right root instance are recycled.
> - drop the {{Root}} param altogether (or make it optional)
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)