Technote

(troubleshooting)
WebSphere Commerce Accelerator hangs when modifying defining attributes for a product
Problem(Abstract)
When trying to view or change the defining attributes for a product in WebSphere Commerce Accelerator, it results in a popup box with the message "Please wait while loading...", but the process never completes.

There are no exceptions in the SystemOut.log or trace log for WC_SERVER and WC_TOOLSFRAMEWORK.
Cause Special characters in the SKU name causes the HTML generation to render improperly. Resolving the problem For example, here is a configuration where the problem can be seen:

A Product Bean is created with the NAME field set to POLE-8" through the Accelerator. This field maps to the NAME column in the CATENTDESC table. SKU's are then generated for this product by clicking "Generate SKUs" or manually creating the SKU without making any changes to the NAME field. This replicates the name value to each of the SKUs for the Item Bean. When "Defining Attributes" is clicked for this Product Bean, the process hangs and never completes loading the page. The double quotes in the Item Bean name throws off the HTML generation resulting in a hang.

Simply removing the double quotes from the Item Bean name does not resolve the problem.

To resolve this problem:
1. Locate the Product Bean in the catalog management section.

2. Show all the SKUs for this bean.

3. Delete all the SKUs for this bean.

Then do one of the following:

1. Generate SKUs manually and ensure that the NAME field does not have any special HTML characters.

OR

2. Update the Product Bean to not have any special HTML characters in the NAME field, and click "Generate SKUs".
 

Document Information

Current web document: http://www.ibm.com/support/docview.wss?uid=swg21272841