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 "Antonio Sanso (JIRA)" <ji...@apache.org> on 2013/08/05 10:56:49 UTC
[jira] [Commented] (OAK-938) Issue with UserManager#getAuthorizable
with multiple sessions
[ https://issues.apache.org/jira/browse/OAK-938?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13729315#comment-13729315 ]
Antonio Sanso commented on OAK-938:
-----------------------------------
looks like org.apache.jackrabbit.oak.core.IdentifierManager holds an old Root revision acquired at initialization (UserInitializer#initialize)
> Issue with UserManager#getAuthorizable with multiple sessions
> -------------------------------------------------------------
>
> Key: OAK-938
> URL: https://issues.apache.org/jira/browse/OAK-938
> Project: Jackrabbit Oak
> Issue Type: Bug
> Components: core
> Reporter: Antonio Sanso
> Attachments: OAK-938-test-patch.txt
>
>
> When UserManager#getAuthorizable is used in a multiple sessions environment where a session creates an user and the other (already acquired) session tries to get the authorizable null is returned (even if the other session uses refresh-interval to 0)
> unit test to follow
--
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