That happens when you use FindControl on a web control. Something causes the page having multiple controls with the same ID. ID's are usually generated with suffix of the id of the object that has some control (hope it makes sence). However i don't think the error will show you the exact id (which is generated later). It would only show you uCommerceMetaKeywords as that is the initial id of the control.
Hence i would believe that you have a duplicate id in the database somewhere around the uCommerce_productdefinitionField or such. Can you check it out ?
Are uCommerceMetaKeywords a custom property you have?
There is only one ProductDefinitionField with the name "uCommerceMetaKeywords" for the productDefinition i have problems with (other productDefinition have one with the same name).
And yes uCommerceMetaKeywords is a custom (shortText) property.
Well. It looks strange. I think i need to dive deeper into that one. But i still think the initial thought is the right one. But it doesn't look like there's any duplicate ID's on that one.
The funny thing is, that the productdefinition has works flawless for close to a year, plus other productdefinitions uses the same Name / "ID" without problems
I have the same problem?? Everything has been fine and out of the blue, on one product (Which is the same definition as all the others!) its throwing the same error you get... Any ideas?
Error rendering ProductDefinitionField in umbraco
Hey
I have a uCommerce 3 solution where all of the productdefinition products cast the following error (when opening the product in the backend):
Multiple controls with the same ID 'uCommerceMetaKeywords' were found. FindControl requires that controls have unique IDs.
Anyone have some inputs?
Hi Nickolaj
That happens when you use FindControl on a web control. Something causes the page having multiple controls with the same ID. ID's are usually generated with suffix of the id of the object that has some control (hope it makes sence). However i don't think the error will show you the exact id (which is generated later). It would only show you uCommerceMetaKeywords as that is the initial id of the control.
Hence i would believe that you have a duplicate id in the database somewhere around the uCommerce_productdefinitionField or such. Can you check it out ?
Are uCommerceMetaKeywords a custom property you have?
Hi Morten
There is only one ProductDefinitionField with the name "uCommerceMetaKeywords" for the productDefinition i have problems with (other productDefinition have one with the same name).
And yes uCommerceMetaKeywords is a custom (shortText) property.
Where in the backend does it fail ?
The products page
Can you provide the list of product definition fields from the database on the specific product definition?
Sure - will a list of the Names do?
:
No :)
I need to see the entire result set.
I took a screenshot:
http://oi48.tinypic.com/2605ug0.jpgHi Nickolaj
Well. It looks strange. I think i need to dive deeper into that one. But i still think the initial thought is the right one. But it doesn't look like there's any duplicate ID's on that one.
Maybe it's because uCommerce usses some ID that is identical with the uCommerceMetaKeywords?
Have you tried renaming it and than using it? If you haven't any duplicates than maybe thats one possible reason.
The funny thing is, that the productdefinition has works flawless for close to a year, plus other productdefinitions uses the same Name / "ID" without problems
I have the same problem?? Everything has been fine and out of the blue, on one product (Which is the same definition as all the others!) its throwing the same error you get... Any ideas?
is working on a reply...