1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Bugs & Issues / Deleting user who has content locked

Deleting user who has content locked

3 posts, 0 answered
  1. Stephen
    Stephen avatar
    14 posts
    Registered:
    12 Jan 2011
    17 Mar 2011
    Link to this post
    I had an issue with generic content.

    A user was deleted who had content locked.

    when browsing generic content under the content menu we received "Object reference not set to an instance of an object." alert messages.

    http://www.mydomain.com/Sitefinity/Services/Content/ContentItemService.svc/?managerType=&providerName=&itemType=Telerik.Sitefinity.GenericContent.Model.ContentItem&provider=&sortExpression=Title%20ASC&skip=0&take=50

    returned 500 with this response: 
    {"Detail":"Object reference not set to an instance of an object."} the ownr column in sf_content_items referred to a user that no longer existed. I assume when you are displaying "Locked by ......." on the page your user variable is null. updating the ownr field for the affected content item to a current user resolved the issue.
  2. Neven Dinev
    Neven Dinev avatar
    43 posts
    Registered:
    24 Jan 2017
    17 Mar 2011
    Link to this post
    Hi Stephen,

    The problem is confirmed and logged for fixing - Bug #110685

    Kind regards,
    the Telerik team
  3. Travis
    Travis avatar
    1 posts
    Registered:
    01 Mar 2011
    24 Mar 2011
    Link to this post
    Just had this issue as well.  We were able to restore the pages by going to Pages panel and selecting the "unlock page" option.
3 posts, 0 answered