Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Drew 165 posts 339 karma points
    Nov 04, 2011 @ 12:08
    Drew
    1

    Multiple controls with the same ID 's' were found. > While Setting Notifications (4.7.0+)

    [More of a informative post than a bug report! :)]

    Firstly, this package is only approved to version 4.5, but I used it on a 4.7.0 installation to help me move some doctypes and it worked fine.

    One side effect is that if you are logged in as an Admin and you go to set up Notifications on the content tree - this package adds a couple of Notification options - which in 4.7.0 and 4.7.1 causes a property ID conflict with one of the controls.

    Specifically the 'Sort' option that comes with a default Umbraco install already claims the id "body_s" but the "Swap Master Doctype" notification option also tries to use this ID.

    Code from the Notification dialog:

    <div class="propertyItem" style="">
    <div class="propertyItemheader">Sort</div>
    <div class="propertyItemContent">
    <input id="body_S" type="checkbox" name="ctl00$body$S"></div>
    </div>

     

    <div class="propertyItem" style="">
    <div class="propertyItemheader">Swap Master Doc Type</div>
    <div class="propertyItemContent">
    <input id="body_s" type="checkbox" name="ctl00$body$s"></div>
    </div>

    Even though the cases are different - it doesn't matter.

     

    The solution is simply to remove the package when you've finished with it.

    This doesn't affect standard users (Writer, Editor) - as they don't get the additional Notification options.

     

    Cheers,

    Drew

  • Garrett Fisher 341 posts 496 karma points
    Feb 01, 2013 @ 17:25
    Garrett Fisher
    0

    Remove WHAT package?  Didn't I get these notifications as part of Umbracio install?  I am getting the same error and trying to fix.

  • Rick 10 posts 50 karma points
    Feb 05, 2013 @ 13:20
    Rick
    0

    I'm experiencing the same problem.

    It seems to happen after every iisreset... 

  • Garrett Fisher 341 posts 496 karma points
    Feb 05, 2013 @ 15:35
    Garrett Fisher
    0

    You mean it happens and then goes away?  For me it is all the time.  In fact, I have never seen an Umbraco instance not throw this error since I have started using it.  Can someone from the core dev team get on this thread please and explain how Notifications is supposed to work?  Because I have never been able to figure it out and I am tired of making excuses to my clients.

    Much appreciated,

    Garrett

  • Rick 10 posts 50 karma points
    Feb 08, 2013 @ 16:22
    Rick
    0

    Not exactly, I think my Server Error message (Multiple controls with the same ID '#random property#' were found. FindControl requires that controls have unique IDs.) appears after a recycle of the application pool. But this happens in a random fashion.

    I looked into the umbracoLog: after the Application started message, I get a whole bunch of these:

    Can't import MacroEngine 'umbraco.MacroEngines.RazorMacroEngine': System.ArgumentException: An item with the same key has already been added.     at System.Collections.Generic.Dictionary`2.Insert(TKey key, TValue value, Boolean add)     at umbraco.cms.businesslogic.macro.MacroEngineFactory.getEngines(List`1 types)

    looking into the problem further I may have a theory it has something to do with thread that are accessed by different users on the same time..
    But I'm not sure. Source: http://our.umbraco.org/m?mode=topic&id=15077 ;

     

  • Garrett Fisher 341 posts 496 karma points
    Apr 17, 2013 @ 23:06
    Garrett Fisher
    0

    Bumping this issue.  What is the deal with Notifications?  It does not work no matter what type of user you are.  Drew, when you say remove the package, what package are you talking about?  Notifications comes standard with Umbraco.

    I get a YSOD any time I attempt to subscribe to a page notification.

    Exception information: 

        Exception type: HttpException 

        Exception message: Multiple controls with the same ID 's' were found. FindControl requires that controls have unique IDs.

       at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)

       at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)

       at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)

       at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)

       at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

     

     

     

    Request information: 

        Request URL: http://stage.appsense.com/umbraco/dialogs/notifications.aspx?id=9555&rnd=36.6&rndo=37.4 ;

        Request path: /umbraco/dialogs/notifications.aspx 

    Thread information: 

        Thread ID: 16 

        Thread account name: IIS APPPOOL\appsense 

        Is impersonating: False 

        Stack trace:    at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)

       at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)

       at System.Web.UI.Control.FillNamedControlsTable(Control namingContainer, ControlCollection controls)

       at System.Web.UI.Control.FindControl(String id, Int32 pathOffset)

       at System.Web.UI.Page.ProcessPostData(NameValueCollection postData, Boolean fBeforeLoad)

       at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)

  • Zain 3 posts 23 karma points
    May 19, 2014 @ 12:36
    Zain
    0

    Any update on this? I am also facing the same exception in notifications window.

  • Tom 34 posts 154 karma points
    Sep 22, 2017 @ 08:22
    Tom
    0

    Still experiencing this in Umbraco v7.6.3. Any pointers for where to look already?

Please Sign in or register to post replies

Write your reply to:

Draft