I ran into an issue with a client that uses user-based permissions on their document repository. If a user account is deleted from the site and has permissions set up on a directory in DMX, the following error is received when that directory is navigated to:
Error: Object reference not set to an instance of an object.
In: at Bring2mind.DNN.Modules.DMX.UI.Utilities.FormatPermissions(EntryPermissionCollection permissions) at Bring2mind.DNN.Modules.DMX.Business.EntryInfo.GetProperty(String strPropertyName, String strFormat, CultureInfo formatProvider, UserInfo AccessingUser, Scope AccessLevel, Boolean& PropertyNotFound) at DotNetNuke.Services.Tokens.BaseCustomTokenReplace.replacedTokenValue(String strObjectName, String strPropertyName, String strFormat) at DotNetNuke.Services.Tokens.BaseTokenReplace.ReplaceTokens(String strSourceText) at DotNetNuke.Services.Tokens.TokenReplace.ReplaceTokens(String strSourceText) at Bring2mind.DNN.Modules.DMX.UI.GenericTokenReplace.ReplaceTokens(String strSourceText) at Bring2mind.DNN.Modules.DMX.TemplateView.DataBind()
Replicate:
1) Create a site user "testuser".
2) Permission "testuser" to view a directory in DMX by explicit username.
3) Delete "testuser" from the site.
4) Navigate to the previously permissioned directory.
This is in DMX 5.00.02 when using the Template interface.
Thanks.
G