Copied to clipboard

Flag this post as spam?

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


These support forums are now closed for new topics and comments.
Please head on over to http://eureka.ucommerce.net/ for support.

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 14, 2013 @ 10:14
    Nickolaj Lundgreen
    0

    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?

     

  • Morten Skjoldager 440 posts 1499 karma points
    Mar 14, 2013 @ 11:25
    Morten Skjoldager
    0

    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? 

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 14, 2013 @ 12:45
    Nickolaj Lundgreen
    0

    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.

     

  • Morten Skjoldager 440 posts 1499 karma points
    Mar 14, 2013 @ 13:39
    Morten Skjoldager
    0

    Where in the backend does it fail ? 

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 14, 2013 @ 13:40
    Nickolaj Lundgreen
    0

    The products page

  • Morten Skjoldager 440 posts 1499 karma points
    Mar 14, 2013 @ 13:57
    Morten Skjoldager
    0

    Can you provide the list of product definition fields from the database on the specific product definition? 

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 14, 2013 @ 14:01
    Nickolaj Lundgreen
    0

    Sure - will a list of the Names do?

    :

    Brand
    DeliveryStatus
    DescriptionHidden
    DescriptionImage
    DescriptionVimeoVideoId
    DescriptionYoutubeVideoId
    DescriptionYoutubeVideoId2
    ListPrice
    LongDetails
    PDF
    PDFText
    ProductInfoMediaFolder
    ShortDetails
    ShowInSlideshow
    TeaserText
    uCommerceHTMLTitle
    uCommerceMetaDescription
    uCommerceMetaKeywords
    uCommerceMetaNoIndex
  • Morten Skjoldager 440 posts 1499 karma points
    Mar 14, 2013 @ 14:04
    Morten Skjoldager
    0

    No :) 

    I need to see the entire result set. 

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 14, 2013 @ 14:12
    Nickolaj Lundgreen
    0
  • Morten Skjoldager 440 posts 1499 karma points
    Mar 14, 2013 @ 22:03
    Morten Skjoldager
    0

    Hi 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. 

     

  • David Brendel 792 posts 2970 karma points MVP 3x c-trib
    Mar 15, 2013 @ 08:40
    David Brendel
    0

    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.

  • Nickolaj Lundgreen 233 posts 1132 karma points
    Mar 15, 2013 @ 09:02
    Nickolaj Lundgreen
    0

    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

  • Lee 1130 posts 3088 karma points
    Mar 19, 2013 @ 15:53
    Lee
    0

    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?

Please Sign in or register to post replies

Write your reply to:

Draft