Opened 6 years ago
Closed 5 years ago
#2278 closed defect (fixed)
Add new address page throws error on a country without a state
| Reported by: | Kurt Endress | Owned by: | Kay Kittell |
|---|---|---|---|
| Priority: | medium | Milestone: | Server 2.0.5 |
| Component: | Public Website 2 | Version: | N/A |
| Severity: | Keywords: | ||
| Cc: | Database Engine: | N/A | |
| Operating System: | N/A |
Description
When entering an address for a country without states, such as Hong Kong, the Add new address page (useraddress.aspx) throws an error: Input string was not in a correct format.
Change History (3)
comment:1 by , 6 years ago
| Milestone: | → Server 2.0.5 |
|---|---|
| Status: | new → addressed |
comment:2 by , 6 years ago
comment:3 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | addressed → closed |
Note:
See TracTickets
for help on using tickets.

Revised code in useraddress.cs so that if a country that doesn't have any states/provinces, such as Hong Kong, the geography_id that's used for saving the shipping address is taken from the country's geography_id, rather than just always using the geography_id that's found in the state field.