Administrator unable to view list of 'Documents and Files'
Hi
We have a user who is a member of the 'Administrators' and 'BackendUsers' roles and unable to see the list of 'Documents and Files' in the backend. When he tries to access the list from the Contents menu, the following error is thrown:
Message : Object reference not set to an instance of an object.
Source : Telerik.Sitefinity
Help link :
Data : System.Collections.ListDictionaryInternal
TargetSite : Void ConstructDialog(Telerik.Sitefinity.Web.UI.Backend.Elements.Contracts.IDialogDefinition)
HResult : -2147467261
Stack Trace : at Telerik.Sitefinity.Web.UI.ItemLists.ItemsListBase.ConstructDialog(IDialogDefinition dialog)
at Telerik.Sitefinity.Web.UI.ItemLists.ItemsListBase.ConstructList()
at Telerik.Sitefinity.Web.UI.ItemLists.ItemsListBase.InitializeControls(GenericContainer container)
at Telerik.Sitefinity.Web.UI.SimpleView.CreateChildControls()
at System.Web.UI.Control.EnsureChildControls()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Control.PreRenderRecursiveInternal()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
Other users who are members of the same roles do not have any problem viewing the list of documents.
Any idea why this happens?
Hello,
The problem must be in the particular user tough from the calls of the stack its not clear what is the problem happening to this user. The method where the problem occur (ItemsListBase.ConstructDialog) builds the 7 different dialogs that make the grid of uploaded documents shown when accessing Content->Documents & Files module tough there are no security checks there for the problem to be connected with the user role so the user have to do with the problem. I doubt the problem you experience is occurring in sitefinity 5.x versions and its possible to be occurring in earlier version. I see there is a support ticket for the problem where we will need to check the project files for better investigation on the cause of the problem and fix.
Greetings,
Stanislav Velikov
the Telerik team