Skip to content

Accept the duplicate Swedish language code so activities can be published - #3715

Merged
bernardhanna merged 1 commit into
masterfrom
fix/activity-swedish-language
Nov 28, 2026
Merged

bernardhanna merged 1 commit into
masterfrom
fix/activity-swedish-language

Conversation

@bernardhanna

Copy link
Copy Markdown
Collaborator

Summary

  • The activity form listed Swedish twice (se and sv). Choosing se failed validation and sent the user back to the address step, which looked like the geolocation bug.
  • se is now stored as sv, the form only offers sv, and a failed save stays on the step that failed.
  • An update with no map pin keeps the existing coordinates.

Test plan

  • swedish_language_alias_can_be_published_for_an_in_person_activity posts the Lund First LEGO League payload with languages en, se, da and stores en,sv,da plus the pin
  • /add renders Swedish and does not offer se
  • Updating an activity with a null pin keeps 55.7304,13.2436
  • Confirm live /add after Forge deploy

Made with Cursor

…shed.

The form offered Swedish as both se and sv, and se was rejected on save. The failure landed back on the address step, so it looked like a geolocation problem.

Co-authored-by: Cursor <cursoragent@cursor.com>
@bernardhanna
bernardhanna merged commit 1376128 into master Nov 28, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant