angela created OAK-6979:
---------------------------
Summary: CugConfiguration.unbindMountInfoProvider doesn't restore
the default
Key: OAK-6979
URL: https://issues.apache.org/jira/browse/OAK-6979
Project: Jackrabbit Oak
Issue Type: Bug
Components: authorization-cug
Reporter: angela
Assignee: angela
[~stillalex], looking at the {{CugConfiguration}} again I spotted that
{{unbindMountInfoProvider}} sets the {{mountInfoProvider}} field to {{null}},
while it initially gets set to a default as follows:
{code}
@Reference
private MountInfoProvider mountInfoProvider =
Mounts.defaultMountInfoProvider();
{code}
shouldn't unbinding restore the default and by thus make sure it's not
{{null}}? if i am missing something feel free to resolved as not a problem...
otherwise i would fix it and write a dedicated unit test for the bind/unbind.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)