Welcome to Mediachase Community Sign in | Join | Help    
in Search   

Meta problem (i think)

Last post Wed, Aug 27 2008, 4:16 PM by truthbrother. 17 replies.
Page 1 of 2 (18 items)   1 2 Next >
Sort Posts: Previous Next
  •  Wed, May 21 2008, 3:14 AM 9764

    Meta problem (i think)

    Hello,

    After configuring my meta class (changing, adding and deleting attributes) every category page or product page gives me the "Critical Error [DataClientException]"

    Here's the message from a product page :

    System.NullReferenceException: Object reference not set to an instance of an object. at Mediachase.MetaDataPlus.MetaObject.GetElementaryFieldValues() at Mediachase.eCF.BusFacade.Filters.Products.MetaAttributesContentFilter.GetProductMetaFields(Product product) at Mediachase.eCF.BusFacade.Filters.Products.MetaAttributesContentFilter.CreateItem(Item& item, IMetaObject metaObject, String[] responseGroup, IList`1& errorArray) at Mediachase.eCF.BusFacade.ContentFilters.PopulateProductItem(Item& productItem, Product product, String currencyCode, String[] responseGroup, IList`1& errorArray) at Mediachase.eCF.BusFacade.SiteManager.ProcessSiteLookupRequest(SiteLookupRequest request, IList`1& errorArray) at Mediachase.eCF.BusFacade.SiteManager.SiteLookup(SiteLookup lookup) at Mediachase.eCF.ClientLib2.ClientProduct.LookupProducts(SiteLookupRequestIdType type, Int32[] objects, String[] responseGroups, ErrorsError[]& errors)

    Is there anything i can do ? Or where to look at ?

    Thanks,
    Victor
  •  Wed, May 21 2008, 10:30 PM 9770 in reply to 9764

    Re: Meta problem (i think)

    What version of ECF are you using? Have you made any changes to the database?
  •  Thu, May 22 2008, 3:13 AM 9774 in reply to 9770

    Re: Meta problem (i think)

    Trial version. No modifications made to the db.
  •  Thu, May 22 2008, 5:06 AM 9775 in reply to 9774

    Re: Meta problem (i think)

    What is the exact version? (4.1.x)
  •  Thu, May 22 2008, 5:09 AM 9776 in reply to 9775

    Re: Meta problem (i think)

    4.1.2
  •  Thu, May 22 2008, 5:19 AM 9777 in reply to 9776

    Re: Meta problem (i think)

    We couldn't replicate the error on our computers. Can you describe the steps that lead to the error? Also, check up that Mediachase.eCommerce.MetaDataPlus.dll version is 1.6.2986.33229
  •  Thu, May 22 2008, 10:08 AM 9778 in reply to 9777

    Re: Meta problem (i think)

    Yes, is the same version.

    I think the problem is with some Meta attribute which was set not to allow nulls but it has null values. Anyway, if i export the products and the master template with the metadata and i import them on another instance, they seem to work perfectly.

    But doing that i've noticed a new problem. The meta values for the Multiple-entry dictionary attributes were not exported. Is there any way to get them ?
  •  Fri, May 23 2008, 12:25 AM 9781 in reply to 9778

    Re: Meta problem (i think)

    Hi,

       Problem with Meta Dictionary values is solved and can be available with full source code license.

  •  Fri, May 23 2008, 12:35 AM 9782 in reply to 9781

    Re: Meta problem (i think)

    And there's no option for the production license ?
  •  Fri, May 23 2008, 2:32 AM 9783 in reply to 9782

    Re: Meta problem (i think)

       Here's the dll that has changed. Replace the corresponding dll in your Bin folder with the attached one. Don't forget to back up your current dll.

  •  Fri, May 23 2008, 3:22 AM 9784 in reply to 9783

    Re: Meta problem (i think)

    What did change ? Because still doesn't export all the values...
  •  Fri, May 23 2008, 6:18 AM 9785 in reply to 9784

    Re: Meta problem (i think)

    Have you restarted IIS after replacing dll?
  •  Thu, Jun 05 2008, 3:08 AM 9824 in reply to 9785

    Re: Meta problem (i think)

    Sorry to reply so late, but i've managed to fix the problem by re-importing the entire catalog.

    However, a similar error appears when i perform a search on the front :

    System.NullReferenceException: Object reference not set to an instance of an object. at Mediachase.MetaDataPlus.MetaObject.GetElementaryFieldValues() at Mediachase.eCF.BusFacade.Filters.Products.MetaAttributesContentFilter.GetProductMetaFields(Product product) at Mediachase.eCF.BusFacade.Filters.Products.MetaAttributesContentFilter.CreateItem(Item& item, IMetaObject metaObject, String[] responseGroup, IList`1& errorArray) at Mediachase.eCF.BusFacade.ContentFilters.PopulateProductItem(Item& productItem, Product product, String currencyCode, String[] responseGroup, IList`1& errorArray) at Mediachase.eCF.BusFacade.Filters.Products.ProductSearchContentFilter.CreateProductItemsBySearch(SiteSearchRequest request, IList`1& errorArray) at Mediachase.eCF.BusFacade.ContentFilters.PopulateProductSearchItem(SiteSearchRequest request, IList`1& errorArray) at Mediachase.eCF.BusFacade.SiteManager.SiteSearch(SiteSearch search) at Mediachase.eCF.ClientLib2.ClientCatalog.SearchProducts(String searchIndex, String keywords, String[] searchFields, KeyValueAttribute[] filter, Int32 categoryid, Boolean incSubCategoryNodes, Decimal minprice, Decimal maxprice, String sort, Boolean sortOrder, String wherest, Int32 itemsPerPage, Int32 currentPage, String[] responseGroup, Int32& totalRecords, ErrorsError[]& errors)

    The problem appears only if i search against all products. When i select a specific Attribute class it works.

  •  Thu, Jun 05 2008, 3:14 AM 9825 in reply to 9824

    Re: Meta problem (i think)

    It seems the problem is with one of the Meta Classes. When i select any other class, it works.
    Maybe it has something to do with a Meta Field that is null and it was not supposed to be null ?
  •  Sat, Jun 07 2008, 4:37 AM 9830 in reply to 9825

    Re: Meta problem (i think)

    Hi,
    it is hard to say where the problem is without your database. Please export your MetaData configuration to .ecf file (Master Templates List\Export to .ecf) and send us your database and the file to support@mediachase.com.  
Page 1 of 2 (18 items)   1 2 Next >
View as RSS news feed in XML
Site Terms | Privacy Policy | About Us | Contact Us
Running on Mediachase eCommerce Framework 4.0.
  Copyright © Mediachase, LTD. 1997-2006. All Rights Reserved

E-commerce, HelpDesk, Service Desk & Project Management Software, alternatives to Microsoft Project Server & Sharepoint Collaboration Server
project management software | microsoft project server | sharepoint collaboration server | issues management, helpdesk & service desk
Powered by Community Server, by Telligent Systems