Skip to content

KeyError when creating event with unsupported language #1388

@jevinjojo

Description

@jevinjojo

Describe the bug
When creating a new event with an unsupported language, the system allows the event to be created and added to the event list.

Steps to Reproduce

  • Create a new event and Select a language
  • Enter an event name in a language which doesn't match the selected language
  • Set the default language to an unsupported language and submit the event

Expected behavior

  • The event creation form should validate the language code against supported languages
  • Event should not be created or added to the event list if the language code is invalid

Screenshots

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    In progress

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions