+1-888-365-2779
Try Now
More in this section

Forums / Module Builder / Error trying to access the edit interface on a custom module item

Error trying to access the edit interface on a custom module item

2 posts, 0 answered
  1. Beth
    Beth avatar
    29 posts
    Registered:
    30 Oct 2013
    08 Mar
    Link to this post

    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:

    http://strativie.com/developer-network/knowledge-base/details/an-exception-is-thrown-when-updating-dynamic-module-fields-on-multilingual-sitefinity-projects-with-configurations-stored-in-the-database 

    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: ErrorLog
    Priority: 0
    EventId: 90030
    Severity: Error
    Title:Enterprise Library Exception Handling
    Machine: UNIV10VMW02
    App Domain: /LM/W3SVC/1/ROOT-1-131019300529499262
    ProcessId: 2772
     
    Process Name: c:\windows\system32\inetsrv\w3wp.exe
    Thread Name:
    Win32 ThreadId:988
    Extended Properties:
    ----------------------------------------
    ----------------------------------------
    Timestamp: 3/8/2016 5:02:14 PM
     
    Message: HandlingInstanceID: 0e5e858f-ea4d-4efc-a209-5d1bbef8f6cb
    An exception of type 'System.ArgumentException' occurred and was caught.
    ------------------------------------------------------------------------
    03/08/2016 11:02:14
    Type : System.ArgumentException, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
    Message : When RenderChoiceAs is set to SingleCheckBox, there should be only one ChoiceItem in the collection
    Source : Telerik.Sitefinity
    Help link :
    ParamName :
    Data : System.Collections.ListDictionaryInternal
    TargetSite : Void InitializeControls(Telerik.Sitefinity.Web.UI.GenericContainer)
    HResult : -2147024809
    Stack 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 : UNIV10VMW02
    TimeStamp : 3/8/2016 5:02:14 PM
    FullName : Telerik.Sitefinity.Utilities, Version=7.3.5610.0, Culture=neutral, PublicKeyToken=b28c218413bdf563
    AppDomainName : /LM/W3SVC/1/ROOT-1-131019300529499262
    ThreadIdentity : bwilson
    WindowsIdentity : IIS APPPOOL\dev.ufcu.org

  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    22 Sep 2016
    15 Mar
    Link to this post
    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
     
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Sitefinity CMS Ideas&Feedback Portal and vote to affect the priority of the items
     
2 posts, 0 answered