#111351Flag icon missing for United States Minor Outlying Islands (UM)
Description
The flag build in Build/Gruntfile.js excludes um.svg from flag-icons. As a result, no icon flags-um is registered. CountryProvider still contains UM (United States Minor Outlying Islands), and it is the only country without a flag icon.
The TCA type “country” (TcaCountry::addItem()) uses flags-<alpha2></alpha2> as the icon for every country. For UM the backend therefore renders the default-not-found icon. Custom code that builds flags-<alpha2></alpha2> from CountryProvider hits the same problem. ItemsProcessorFunctions::populateFlags() already works around it by excluding UM.
Steps to reproduce:- Install EXT:styleguide.
- Create a new record “Form engine elements – select” and open the tab “type=country”.
- In the field “Country Basic”, select “UM”.
Expected: A flag icon is shown, as for every other country.
*Actual:* The default-not-found icon is shown. It is the only one of the 249 countries affected.
Affected versions: 14.3 and main (TCA type “country”). On 13.4 only custom code that builds flag identifiers from CountryProvider is affected.
Proposed fix: Stop excluding um.svg in the flag build and ship um.webp. flag-icons uses the US flag for UM.
Reviews 3
History 26
-
Gerrit Code Review pushed patch set 1 for main to change 97369 status
NewUnder Review <span data-processor="relativetime" data-value="2026-11-05T10:43:35+00:00" > 11/05/26, 10:43 </span> -
Gerrit Code Review pushed patch set 1 for 13.4 to change 97505 <span data-processor="relativetime" data-value="2026-11-10T10:35:50+00:00" > 11/10/26, 10:35 </span>
-
Gerrit Code Review pushed patch set 2 for 13.4 to change 97505 <span data-processor="relativetime" data-value="2026-11-10T10:36:23+00:00" > 11/10/26, 10:36 </span>
-
Niklas Grieger commented and changed status
Under ReviewResolved done0 %100 % <span data-processor="relativetime" data-value="2026-11-10T10:40:12+00:00" > 11/10/26, 10:40 </span> -
Gerrit Code Review pushed patch set 1 for 14.3 to change 97506 status
ResolvedUnder Review <span data-processor="relativetime" data-value="2026-11-10T10:47:00+00:00" > 11/10/26, 10:47 </span> -
Niklas Grieger commented and changed status
Under ReviewResolved <span data-processor="relativetime" data-value="2026-11-10T10:55:17+00:00" > 11/10/26, 10:55 </span>Applied in changeset commit:68cebef4ec4a303c6413fbec9fabe11c28f52caf.
Applied in changeset commit:8e6f4496c3d8ff13c800341c5f84cbede1c79b67.