Author: jleroux
Date: Tue Sep 6 08:03:12 2016
New Revision: 1759378
URL:
http://svn.apache.org/viewvc?rev=1759378&view=revLog:
A patch from Fumiyoshi To for "No States/Provinces Exist when Request a New Account"
https://issues.apache.org/jira/browse/OFBIZ-8136When I choose Japan in new customer screen, no states/province exists occurred, and I cannot register as a customer through ecommerce.
It is because of no data exist for Japan in CountryAddressFormat[GeoData.xml].
jleroux: I'm not sure it's really a bug, but anyway committing this is a good thing
Modified:
ofbiz/trunk/framework/common/data/GeoData.xml
Modified: ofbiz/trunk/framework/common/data/GeoData.xml
URL:
http://svn.apache.org/viewvc/ofbiz/trunk/framework/common/data/GeoData.xml?rev=1759378&r1=1759377&r2=1759378&view=diff==============================================================================
--- ofbiz/trunk/framework/common/data/GeoData.xml (original)
+++ ofbiz/trunk/framework/common/data/GeoData.xml Tue Sep 6 08:03:12 2016
@@ -366,4 +366,5 @@ under the License.
<CountryAddressFormat geoId="CHL" geoAssocTypeId="" requireStateProvinceId="" requirePostalCode="" postalCodeRegex="" hasPostalCodeExt="" requirePostalCodeExt="" addressFormat=""/>
<CountryAddressFormat geoId="TUR" geoAssocTypeId="REGIONS" requireStateProvinceId="" requirePostalCode="" postalCodeRegex="" hasPostalCodeExt="" requirePostalCodeExt="" addressFormat=""/>
<CountryAddressFormat geoId="ZAF" geoAssocTypeId="REGIONS" requireStateProvinceId="" requirePostalCode="" postalCodeRegex="" hasPostalCodeExt="" requirePostalCodeExt="" addressFormat=""/>
+ <CountryAddressFormat geoId="JPN" geoAssocTypeId="REGIONS" requireStateProvinceId="" requirePostalCode="" postalCodeRegex="\d{3}-\d{4}" hasPostalCodeExt="" requirePostalCodeExt="" addressFormat=""/>
</entity-engine-xml>