Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

FIX: The variant rank is reset to the default value after you perform a base catalog incremental import operation if the catalog XML file does not include a variant rank attribute in Commerce Server 2007


View products that this article applies to.

Symptoms

Consider the following scenario:
  • You have a computer that is running Microsoft Commerce Server 2007 Service Pack 2 (SP2).
  • You sequence variants for a product in Commerce Server Catalog Manager.
  • You perform a base catalog incremental import operation by using a catalog XML file.
  • The catalog XML file does not include the variant rank attribute.
In this scenario, the initial variant rank value will be reset to the default rank value�of "0" even though the variant rank attribute is not specified. You expect the rank value to stay the same because the variant rank attribute is not included in the catalog XML file.�

For example, you have the following product catalog in the catalog system:
<ProductVariant VariantCode="44" listprice="29.0000" lastmodified="2008-01-13T07:06:30" rank="3" id="Id_31">
<DisplayName Value="Women's woven tee (Blue)" language="en-US" />
<ProductColor Value="Blue" language="en-US" />
</ProductVariant>
You perform an incremental import of the catalog by using an XML file that contains the following element:
<ProductVariant VariantCode="44" listprice="29.0000" lastmodified="2008-01-13T07:06:30"  id="Id_31">
<DisplayName Value="Women's woven tee (Blue)" language="en-US" />
<ProductColor Value="Blue" language="en-US" />
</ProductVariant>
In this example, the initial rank value "3" will be overwritten by "0" even though the variant rank attribute is not specified.

↑ Back to the top


Cause

This issue occurs because of an error in the Microsoft.catalogserver.dll file.

↑ Back to the top


Resolution

To resolve this issue, apply the hotfix that is described in the Microsoft Knowledge Base (KB) article 975086. To do this, click the following article number to view the article in the Microsoft Knowledge Base:
975086You cannot retrieve the latest inventory data by using Commerce Server APIs for the Inventory System in Commerce Server 2007

↑ Back to the top


Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

↑ Back to the top


More information

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684 Description of the standard terminology that is used to describe Microsoft software updates
For more information about a similar issue that affects the product rank attribute, click the following article number to view the article in the Microsoft Knowledge Base:
961178 FIX: The product rank is overwritten as "0" after you perform the base catalog incremental import operation even though the catalog xml file does not include a product rank attribute in Commerce Server 2007
For more information, visit the following Microsoft site:

↑ Back to the top


Keywords: KB975117, kbprb, kbtshoot, kbexpertiseadvanced, kbsurveynew

↑ Back to the top

Article Info
Article ID : 975117
Revision : 3
Created on : 8/10/2010
Published on : 8/10/2010
Exists online : False
Views : 345