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.
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.
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 ;
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)
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:
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
Remove WHAT package? Didn't I get these notifications as part of Umbracio install? I am getting the same error and trying to fix.
I'm experiencing the same problem.
It seems to happen after every iisreset...
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
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 ;
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)
Any update on this? I am also facing the same exception in notifications window.
Still experiencing this in Umbraco v7.6.3. Any pointers for where to look already?
is working on a reply...