- login to Admin Console
 - go to E-commerce → Orders section
 - press Add toolbar button on the Incomplete tab
 - go to Shipping tab in the order adding window, that appeared
 - press on the Shipping tab again
 - confirm, that:
- validaton error for missing Shipping State field happened
 - in the Debugger there is an SQL query for selecting countries with states (search for country_states_helper.php:63 text)
 
 - press on the Shipping tab again
 - confirm, that:
- validaton error for missing Shipping State field happened
 - in the Debugger there isn't an SQL query for selecting countries with states (search for country_states_helper.php:63 text)
 
 - close order adding window by pressing Cancel
 - go to Configuration → Website → Countries & States section
 - try deleting record except United States or Canada
 - repeat above steps with Shipping tab to confirm, that SQL appears once again and then never is invoked
 
Details
Details
- Reviewers
 erik - Commits
 - rINP16704: Fixes INP-1802 - Speed up detection of countries with states
 
Diff Detail
Diff Detail
- Repository
 - rINP In-Portal
 - Lint
 Automatic diff as part of commit; lint not applicable. - Unit
 Automatic diff as part of commit; unit tests not applicable.