|
|
|
|
Meta problem (i think)
Last post Wed, Aug 27 2008, 4:16 PM by truthbrother. 17 replies.
-
Wed, May 21 2008, 3:14 AM |
-
victorgunta
-
-
-
Joined on 04-21-2008
-
-
Posts 72
-
-
|
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 |
-
Nadya
-
-
-
Joined on 06-29-2005
-
-
Posts 475
-
-
|
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 |
-
victorgunta
-
-
-
Joined on 04-21-2008
-
-
Posts 72
-
-
|
Re: Meta problem (i think)
Trial version. No modifications made to the db.
|
|
-
Thu, May 22 2008, 5:06 AM |
-
Nadya
-
-
-
Joined on 06-29-2005
-
-
Posts 475
-
-
|
Re: Meta problem (i think)
What is the exact version? (4.1.x)
|
|
-
Thu, May 22 2008, 5:09 AM |
-
Thu, May 22 2008, 5:19 AM |
-
Nadya
-
-
-
Joined on 06-29-2005
-
-
Posts 475
-
-
|
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 |
-
victorgunta
-
-
-
Joined on 04-21-2008
-
-
Posts 72
-
-
|
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 |
-
Nadya
-
-
-
Joined on 06-29-2005
-
-
Posts 475
-
-
|
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 |
-
victorgunta
-
-
-
Joined on 04-21-2008
-
-
Posts 72
-
-
|
Re: Meta problem (i think)
And there's no option for the production license ?
|
|
-
-
Fri, May 23 2008, 3:22 AM |
-
victorgunta
-
-
-
Joined on 04-21-2008
-
-
Posts 72
-
-
|
Re: Meta problem (i think)
What did change ? Because still doesn't export all the values...
|
|
-
Fri, May 23 2008, 6:18 AM |
-
Nadya
-
-
-
Joined on 06-29-2005
-
-
Posts 475
-
-
|
Re: Meta problem (i think)
Have you restarted IIS after replacing dll?
|
|
-
Thu, Jun 05 2008, 3:08 AM |
-
victorgunta
-
-
-
Joined on 04-21-2008
-
-
Posts 72
-
-
|
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 |
-
victorgunta
-
-
-
Joined on 04-21-2008
-
-
Posts 72
-
-
|
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 |
-
ga
-
-
-
Joined on 07-25-2007
-
-
Posts 204
-
-
|
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
|
|
|
|