When a user who is a Content Administrator but not an Administrator attempts to set the parent page of a page, and the number of pages has gone over the threshold where it switches to using the popup tree view, they get a server error. This appears in the log:
2013-05-16 16:20:12,187 ERROR 82.69.43.209 - en-GB - /Dialog/ParentPageDialog.aspx?pageid=682 - mojoPortal.Web.Global - Referrer(https://cmsidocumentation.esdm.co.uk/Admin/PageSettings.aspx?pageid=682) useragent Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.64 Safari/537.31
System.NullReferenceException: Object reference not set to an instance of an object.
at mojoPortal.Web.UI.ParentPageDialog.tree_TreeNodeDataBound(Object sender, TreeNodeEventArgs e)
at System.Web.UI.WebControls.TreeView.OnTreeNodeDataBound(TreeNodeEventArgs e)
at System.Web.UI.WebControls.TreeView.DataBindRecursive(TreeNode node, IHierarchicalEnumerable enumerable, Boolean ignorePopulateOnDemand)
at System.Web.UI.WebControls.TreeView.DataBindNode(TreeNode node)
at System.Web.UI.WebControls.TreeView.PerformDataBinding()
at System.Web.UI.WebControls.Adapters.HierarchicalDataBoundControlAdapter.PerformDataBinding()
at System.Web.UI.WebControls.HierarchicalDataBoundControl.PerformSelect()
at System.Web.UI.WebControls.BaseDataBoundControl.DataBind()
at System.Web.UI.WebControls.TreeView.DataBind()
at mojoPortal.Web.UI.ParentPageDialog.BindTree()
at mojoPortal.Web.UI.ParentPageDialog.Page_Load(Object sender, EventArgs e)
at System.Web.UI.Control.OnLoad(EventArgs e)
at System.Web.UI.Control.LoadRecursive()
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I've had to make this user a full admin to fix this...
mojoPortal Version 2.3.9.7 MSSQL
Operating System Microsoft Windows NT 6.0.6002 Service Pack 2
ASP.NET Info v4.0.30319 Running in Full Trust