Closed kappaj closed 5 years ago
I also encounter it during the update of Symfony 4.3
because this countries have been remove. I forget to delete them from this plugin fixtures...
Can you make a pull request removing it ?
Also I think a fixture load test is maybe required here to avoid future problems.
I found another thing but maybe I don't understand it exactly: After loading the fixtures I have 249 countries but 247 zone_members. So 2 countries are not mapped to zones? Is this OK?
Let me check the complete list into symfony/intl
So getting the list from : https://github.com/symfony/intl/blob/master/Resources/data/regions/fr.json
Removing all European countries, here is the complete REST_OTW
list :
- "AD"
- "AE"
- "AF"
- "AG"
- "AI"
- "AL"
- "AM"
- "AO"
- "AQ"
- "AR"
- "AS"
- "AU"
- "AW"
- "AX"
- "AZ"
- "BA"
- "BB"
- "BD"
- "BF"
- "BH"
- "BI"
- "BJ"
- "BL"
- "BM"
- "BN"
- "BO"
- "BQ"
- "BR"
- "BS"
- "BT"
- "BV"
- "BW"
- "BY"
- "BZ"
- "CA"
- "CC"
- "CD"
- "CF"
- "CG"
- "CH"
- "CI"
- "CK"
- "CL"
- "CM"
- "CN"
- "CO"
- "CR"
- "CU"
- "CV"
- "CW"
- "CX"
- "DJ"
- "DM"
- "DO"
- "DZ"
- "EC"
- "EG"
- "EH"
- "ER"
- "ET"
- "FJ"
- "FK"
- "FM"
- "FO"
- "GA"
- "GB"
- "GD"
- "GE"
- "GF"
- "GG"
- "GH"
- "GI"
- "GL"
- "GM"
- "GN"
- "GP"
- "GQ"
- "GS"
- "GT"
- "GU"
- "GW"
- "GY"
- "HK"
- "HM"
- "HN"
- "HT"
- "ID"
- "IL"
- "IM"
- "IN"
- "IO"
- "IQ"
- "IR"
- "IS"
- "JE"
- "JM"
- "JO"
- "JP"
- "KE"
- "KG"
- "KH"
- "KI"
- "KM"
- "KN"
- "KP"
- "KR"
- "KW"
- "KY"
- "KZ"
- "LA"
- "LB"
- "LC"
- "LI"
- "LK"
- "LR"
- "LS"
- "LY"
- "MA"
- "MC"
- "MD"
- "ME"
- "MF"
- "MG"
- "MH"
- "MK"
- "ML"
- "MM"
- "MN"
- "MO"
- "MP"
- "MQ"
- "MR"
- "MS"
- "MU"
- "MV"
- "MW"
- "MX"
- "MY"
- "MZ"
- "NA"
- "NC"
- "NE"
- "NF"
- "NG"
- "NI"
- "NO"
- "NP"
- "NR"
- "NU"
- "NZ"
- "OM"
- "PA"
- "PE"
- "PF"
- "PG"
- "PH"
- "PK"
- "PM"
- "PN"
- "PR"
- "PS"
- "PW"
- "PY"
- "QA"
- "RE"
- "RS"
- "RU"
- "RW"
- "SA"
- "SB"
- "SC"
- "SD"
- "SG"
- "SH"
- "SJ"
- "SL"
- "SM"
- "SN"
- "SO"
- "SR"
- "SS"
- "ST"
- "SV"
- "SX"
- "SY"
- "SZ"
- "TC"
- "TD"
- "TF"
- "TG"
- "TH"
- "TJ"
- "TK"
- "TL"
- "TM"
- "TN"
- "TO"
- "TR"
- "TT"
- "TV"
- "TW"
- "TZ"
- "UA"
- "UG"
- "UM"
- "US"
- "UY"
- "UZ"
- "VA"
- "VC"
- "VE"
- "VG"
- "VI"
- "VN"
- "VU"
- "WF"
- "WS"
- "YE"
- "YT"
- "ZA"
- "ZM"
- "ZW"
I just create a new release to fix this
I cleaned my database and started to load your fixtures I got this error on the cli:
My "fast fix" was the removing of the missing countries in
fixtures.yaml
. The missing countries were:But I don't know if this is the best solution.