WebSphere Commerce Gift Center search results using
the GiftRegistrySearchDataBean show incorrect results when performing
searches using special characters or numbers for the first and last
name
|
Technote
(FAQ)
Problem
|
The Gift Center uses the
com.ibm.commerce.giftregistry.beans.GiftRegistrySearchDataBean search bean
for searching for gift registries. If you search for a registry using
special characters in either the first or last names and there are
registries that begin with the letter z then the search will erroneously
return these registries.
For example :
1. Create a registry for a user where first name is 'z' and last name is
'z'
2. Create a registry for a user where first name is 'zz' and last name is
'zz'.
3. Log on as a new guest user and do a search with numbers where first
name is '1' and last name is '2'.
4. In the results you will see 'z z' and 'zz zz'.
5. Do another search with special characters where first name is '%' and
last name is '$'.
6. In the results you will see 'z z' and 'zz zz'.
|
Cause
|
The problem is the soundex function treats some consonants
and symbols equally. For example, both 'ZZ' and '$' result in soundex
Z000.
|
Solution
|
Contact WebSphere Commerce support to obtain APAR
JR23657.
|