Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 975117 - Last Review: August 10, 2010 - Revision: 3.0

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

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.

CAUSE

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

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:
975086  (http://kbalertz.com/Feedback.aspx?kbNumber=975086/ ) You cannot retrieve the latest inventory data by using Commerce Server APIs for the Inventory System in Commerce Server 2007

STATUS

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

MORE INFORMATION

For more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:
824684  (http://kbalertz.com/Feedback.aspx?kbNumber=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  (http://kbalertz.com/Feedback.aspx?kbNumber=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:
General information about sequence variants screen (http://technet.microsoft.com/en-us/library/ms958773(CS.70).aspx )

APPLIES TO
  • Microsoft Commerce Server 2007 Developer Edition
  • Microsoft Commerce Server 2007 Enterprise Edition
  • Microsoft Commerce Server 2007 Standard Edition
Keywords: 
kbsurveynew kbexpertiseadvanced kbtshoot kbprb KB975117
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate