Error trying to access the edit interface on a custom module item
We are running Sitefinity 7.3.5610.0. We have a custom module that allows us to post a certain article type (see screen grab of what the module contains). This module has been working perfectly until today. Now, when I try to click on an item, to edit it, I receive a generic error message (see attached screen grab). Looking at the Error Logs, I see the error message copied below.
Last week, I tried to modify this module using module builder to include a "tags" field. The update failed. When I did research, it appears that the reason was this bug:
Is this related to the reason I'm unable to edit content? If so, how do I clear this up? I need to be able to edit my content.
Category: ErrorLogPriority: 0EventId: 90030Severity: ErrorTitle:Enterprise Library Exception HandlingMachine: UNIV10VMW02App Domain: /LM/W3SVC/1/ROOT-1-131019300529499262ProcessId: 2772Process Name: c:\windows\system32\inetsrv\w3wp.exeThread Name: Win32 ThreadId:988Extended Properties: --------------------------------------------------------------------------------Timestamp: 3/8/2016 5:02:14 PMMessage: HandlingInstanceID: 0e5e858f-ea4d-4efc-a209-5d1bbef8f6cbAn exception of type 'System.ArgumentException' occurred and was caught.------------------------------------------------------------------------03/08/2016 11:02:14Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089Message : When RenderChoiceAs is set to SingleCheckBox, there should be only one ChoiceItem in the collectionSource : Telerik.SitefinityHelp link : ParamName : Data : System.Collections.ListDictionaryInternalTargetSite : Void InitializeControls(Telerik.Sitefinity.Web.UI.GenericContainer)HResult : -2147024809Stack Trace : at Telerik.Sitefinity.Web.UI.Fields.ChoiceField.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.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.Control.PreRenderRecursiveInternal() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)Additional Info:MachineName : UNIV10VMW02TimeStamp : 3/8/2016 5:02:14 PMFullName : Telerik.Sitefinity.Utilities, Version=7.3.5610.0, Culture=neutral, PublicKeyToken=b28c218413bdf563AppDomainName : /LM/W3SVC/1/ROOT-1-131019300529499262ThreadIdentity : bwilsonWindowsIdentity : IIS APPPOOL\dev.ufcu.orgRequested URL : http://dev.ufcu.org/Sitefinity/Dialog/ContentViewEditDialog?ControlDefinitionName=Telerik.Sitefinity.DynamicTypes.Model.UfcuToolsandAdvice.UfcuToolsAdviceBackendDefinition&ViewName=UFCU Tools and AdviceBackendEditView&Id=632ae0fa-103f-6886-a2c9-ff0000be45fd&provider=OpenAccessProvider
Hello,
The problem is that the module currently have a setting to display one of its fields as SingleCheckBox, but the configurations don`t match this. There are more than one choice options available for this field. The strange here is that when using Choice field for the dynamic modules there is no option to use SingleCheckBox, here is a screenshot.
The error indicates that the modules uses a choice field of type SingleCheckBox and this change must have been made manually updating the module configurations.
By default in the UI only one choice item can`t be selected, there must always be two choice items, here is a screenshot and the update to use SingleCheckBox haven`t reflected this.
To fix:
The module gets fixed when it gets updated from Administration->Module Builder -> select the module and click finish to update it.
After the update check the choice fields in the module are as expected, dropdowns, multiple choice fields, radio buttons. If some of the fields is not correct let me know details of this field.
Regards,
Stanislav Velikov
Telerik