I am building a custom control based on code from the Select Document Form control (CMSModules_Content_FormControls_Documents_SelectDocument). The error is reproducible in the existing form control when the ContentStartingPath parameter is changed like the following:
private DialogConfiguration Config
{
get
{
if (mConfig == null)
{
mConfig = new DialogConfiguration();
mConfig.HideLibraries = true;
mConfig.HideAnchor = true;
mConfig.HideAttachments = true;
mConfig.HideContent = false;
mConfig.HideEmail = true;
mConfig.HideLibraries = true;
mConfig.HideWeb = true;
mConfig.EditorClientID = txtGuid.ClientID;
mConfig.ContentSelectedSite = CMSContext.CurrentSiteName;
mConfig.OutputFormat = OutputFormatEnum.Custom;
mConfig.CustomFormatCode = "selectpath";
mConfig.SelectableContent = SelectableContentEnum.AllContent;
mConfig.ContentStartingPath = "/";
}
return mConfig;
}
}