The following problems are fixed in Commerce Server 2007 Starter Site SP2.
Problem 1
The Starter Site unnecessarily loads the full discount to retrieve the basket display string.
Fix in Commerce Server 2007 Starter Site SP2
Commerce Server 2007 Starter Site SP2 removes the loading of the full discount and only retrieves the string property. This change will result in a small performance improvement. The Basketdisplayteststarter.aspx.cs file is updated in Commerce Server 2007 Starter Site SP2.
Problem 2
When a Starter Site user changes the
CountryName field on the default order form, the Starter Site does not update the CountryCode column in the OrderAddresses database table.
Fix in Commerce Server 2007 Starter Site SP2
The
CountryCode field and the
CountryName field were incorrect. The Commerce Server 2007 Starter Site has been updated so that the fields are used correctly.
The following files are updated in Commerce Server 2007 Starter Site SP2:
- AddressManager.ascx
- AddressManager.ascx.cs
- Web.config
Problem 3
When an external server handles Secure Sockets Layer (SSL) processing and a Starter Site user logs on, the user will not be redirected back to the home page. The user is logged on, but the user remains on the logon page.
Fix in Commerce Server 2007 Starter Site SP2
An explicit redirect was added in Commerce Server 2007 Starter Site SP2 to direct users back to the home page after users log on. The Login.aspx.cs file is updated in Commerce Server 2007 Starter Site SP2.
Problem 4
When a user adds a seventh address to the address book, an exception is thrown. This problem occurs because of a restriction in the dbo.UserObject table. In the dbo.UserObject table, the u_address column is limited to 255 characters. Addresses are stored in this column as GUIDs with a length of 38 characters each, and only six addresses can be saved. When a user adds a seventh address to the address list, the new address is not persisted because it exceeds the field length. Then, the exception occurs. However, the seventh address will be cached locally by the profile system as part of the user�s profile. Additionally, the seventh address will be displayed to the user if the user views the address list. If the user logs off and then logs on again, the Starter Site will try to update the user's profile. The Starter Site will try to use the user's last logon time together with the cached, invalid address list that includes the seventh address. This causes the logon to fail.
Fix in Commerce Server 2007 Starter Site SP2
In the Web.config file, the physical column sizes are now specified for the relevant columns. Also, the AddressManager class and the PaymentManager class will now disable the "add new" buttons if there is not enough storage space. Finally, the ProfileBase class will update the internal profile cache if an update fails for any reason so that non-persisted bad data causes no future updates to fail.
The following files are updated in Commerce Server 2007 Starter Site SP2:
- SiteContext.cs
- Site.resx
- MultiplePayment.ascx.resx
- Shipping.ascx.resx
- AddressManager.ascx
- AddressManager.ascx.resx
- AddressManager.ascx.cs
- PaymentManager.ascx
- PaymentManager.ascx.cs
- AddressBook.aspx.resx
- Payment.aspx.resx,
Problem 5
When you click the
Login link or the
Logout link while the raw request URL is being UTF-8 encoded, you receive the following error message:
The specified catalog does not exist
Fix in Commerce Server 2007 Starter Site SP2
The raw request URL is now URL decoded in Commerce Server 2007 Starter Site SP2. The CatalogSiteMapProvider.cs file is updated in Commerce Server 2007 Starter Site SP2.