Files
romm/backend/utils
Georges-Antoine Assi e61d6cd5b8 fix(platforms): stop platform variants from renaming the parent platform
get_supported_platforms built a slug->platform map with a plain dict
comprehension. When a folder is mapped as a variant or alias of an
existing platform, scanning resolves it to the parent slug, so two
platform rows share the same slug. The comprehension let the later row
(the variant) overwrite the parent, renaming it in the platform picker
and Folder Mappings page.

Prefer the canonical platform (fs_slug == slug) when building the map so
a variant folder no longer shadows its parent.

Fixes #3157

Generated-By: PostHog Code
Task-Id: 571866ea-86a0-49c2-b62e-dbea077d0181
2026-07-06 10:17:34 -04:00
..
2025-09-04 11:17:00 -03:00
2026-06-21 17:42:25 -04:00
2026-05-30 20:26:29 -04:00
2026-06-23 22:38:43 -04:00
2026-06-28 21:48:50 -04:00
2026-06-07 08:29:49 -04:00