More in this section

Forums / Bugs & Issues / Multiple Library Provider Error

Multiple Library Provider Error

8 posts, 0 answered
  1. David
    David avatar
    15 posts
    Registered:
    22 Jun 2011
    08 Jul 2011
    Link to this post
    When trying to work with multiple library providers I get this error message when working with permissions.

    Object references between two different object scopes are not allowed. The object 'Telerik.Sitefinity.Security.Model.Permission' is already managed by 'ObjectScopeImpl 0x4b68a8 Telerik.OpenAccess.RT.EnlistableObjectScope' and was tried to be managed again by 'ObjectScopeImpl 0x235ca4 Telerik.OpenAccess.RT.EnlistableObjectScope'

    Any ideas?

    Thanks,

    David
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    08 Jul 2011
    Link to this post
    Hi David,

    Please provide some steps that we could follow to replicate the issue you reported. Thanks in advance.

    Regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. David
    David avatar
    15 posts
    Registered:
    22 Jun 2011
    08 Jul 2011
    Link to this post
    I started from scratch just to make sure.

    1. Create New Project with new Database.
    2. Create New Storage provider via Administration > Settings > Advanced > Providers > Create New > StorageProviderSettings and Restart project
    3. Give New provider unique "applicationName" parameter
    4. I uploaded two documents into each new provider after creating a new library within each provider.
    5. Create two new Roles
    6. Edit Permissions of first Role
    7. Change Module Provider dropdown to new provider.
    8. Edit Document and DocumentLibrary permissions to allow for view, create, Modify library and manage documents etc.
    This threw the error for me right away.
    Also edit the permissions by section of Libraries and edit the same Modify library and manage documents for the new provider and it starts to through the error.
    After playing with this for a while I started to get the error when bouncing between editing permissions of the libraires section, or by role. Almost like they are conflicting with each other.

    Also another anomaly I encountered was after changing the Libraries permissions for the new provider under Permissions > By Section > Libraries, and then switching to the Content > Documents & Files > Switch to New Provider > Manage Libraries > edit permissions of a library - you cannot break the inheritance because is throws the same error.

    Sometimes you can click through the error and it seems to have an effect, but it starts to act buggy.

    Thanks,

    David
  4. Teodor
    Teodor avatar
    52 posts
    Registered:
    24 Sep 2012
    14 Jul 2011
    Link to this post
    Hello David,

    Right now this functionality is changed and I recommend you to wait for Q2 release before you use it. 

    Greetings,
    Teodor
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. David
    David avatar
    15 posts
    Registered:
    22 Jun 2011
    29 Jul 2011
    Link to this post
    Does Q2 translate to 4.2 coming this August?

    Thank you,

    David Ray
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    01 Aug 2011
    Link to this post
    Hi David,

    Yes, Q2 is 4.2 release. Here is the roadmap where you will find all main features.

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. David
    David avatar
    15 posts
    Registered:
    22 Jun 2011
    12 Aug 2011
    Link to this post
    I Upgraded my project 4.2 and I experienced the error again.

    Was this not fixed in the 4.2 Release?
  8. Petya
    Petya avatar
    123 posts
    Registered:
    30 May 2017
    17 Aug 2011
    Link to this post
    Hi David,

    I managed to reproduce your problem on a clean project with 4.2 and I'm logging it as a bug which you can follow here: http://www.telerik.com/support/pits.aspx#/public/sitefinity/7438
    I'm also updating your Telerik points.

    Best wishes,
    Petya
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
8 posts, 0 answered