Issue Bug Resolved

#111351Flag icon missing for United States Minor Outlying Islands (UM)

Niklas Grieger 11/05/26, 10:16 updated 11/10/26, 10:55

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:
  1. Install EXT:styleguide.
  2. Create a new record “Form engine elements – select” and open the tab “type=country”.
  3. 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

  1. Niklas Grieger commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2026-11-10T10:40:12+00:00" > 11/10/26, 10:40 </span>

    Applied in changeset commit:8e6f4496c3d8ff13c800341c5f84cbede1c79b67.

  2. Gerrit Code Review pushed patch set 1 for 14.3 to change 97506 status Resolved Under Review <span data-processor="relativetime" data-value="2026-11-10T10:47:00+00:00" > 11/10/26, 10:47 </span>

  3. Niklas Grieger commented and changed status Under Review Resolved <span data-processor="relativetime" data-value="2026-11-10T10:55:17+00:00" > 11/10/26, 10:55 </span>

    Applied in changeset commit:68cebef4ec4a303c6413fbec9fabe11c28f52caf.