Skip to content

bug(platform): the create-organization wizard rejects names with umlauts, accents or punctuation, and says to use letters #4886

Closed

Description

@yannickmonney

Problem

The create-organization wizard (/dashboard/create-organization, also the first run after sign-up) refuses ordinary company names with umlauts, accents or common punctuation: "Müller AG", "Société Générale", "Zürcher Bau GmbH", "Smith & Co." and "Acme Inc." are all rejected. Its error then tells the person to use "letters", which they did. Paths at main c94f1fd84, under services/platform/.

  • The rule: app/features/organization/components/onboarding/steps/workspace-step.tsx:34 sets const NAME_PATTERN = /^[A-Za-z0-9][A-Za-z0-9 _-]*$/;, which is ASCII only. nameValid and nameError use it (:110-123), and Next stays disabled (valid={nameValid && …}, :199).

  • The message contradicts it (settings.organization.companyNameCharacterError):

    • en: "Use letters, digits, spaces, hyphens, and underscores only, starting with a letter or digit." (messages/en/settings.yml:247-249)
    • de: "Verwende nur Buchstaben, Ziffern, Leerzeichen, Bindestriche und Unterstriche …" (de/settings.yml:255-257)
    • fr: "Utilise uniquement des lettres, chiffres, espaces, tirets et tirets bas …" (fr/settings.yml:259-261)

    To a German or French speaker, "ü" and "é" are letters.

  • Nothing else needs the restriction.

    • The slug is derived separately (deriveOrgSlug, :25-32).
    • The shared organization-name rule, which the settings form and the server hook enforce, only requires a non-empty name (lib/shared/schemas/organizations.ts:21-22).
    • So the same name is accepted once the organization exists and is renamed in Settings. The wizard is the only place that refuses it, and it is the first thing a new customer does.
  • Tests pin the current rule: manual case AUTH-B5 (tests/manual/suites/auth.md:321-325, @@@bad@@@) and tests/e2e/specs/onboarding.spec.ts:57-63 (Acme!). Neither covers a non-ASCII or punctuated real name.

Expected

  • Accept what the shared schema accepts: Unicode letters and digits plus common punctuation, for example /^[\p{L}\p{N}][\p{L}\p{N} _.,&'’()-]*$/u, or simply the shared organizationNameSchema. Keep refusing names whose derived slug is empty or reserved, with a message that says that.
  • If a restriction remains, make the message list exactly what is refused.
  • Regression: the wizard accepts "Müller AG" and "Société Générale" and derives a valid slug, while @@@ stays refused. Update AUTH-B5 and the e2e case accordingly. On c94f1fd84 both names keep Next disabled.

Severity and owner

  • Severity: medium. It blocks the natural company name at first run for the platform's German- and French-speaking customers (de-CH is a shipped locale). The workaround, an ASCII name now and a rename later, is invisible.
  • Owner: platform (onboarding, organizations).
  • Found by: Review A (TALE-358), 2026-10-12 20:15 Zurich occurrence, oldest-due onboarding.create-org UX-CLARITY slice. This is static reading at c94f1fd84, verified at the cited lines. I didn't run it, because Review A's stack is BLOCKED.

Activity

  1. added
    agent-ready
    on Oct 29, 2026
  2. added a commit that references this issue on Oct 30, 2026
    7231acd
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    agent-readybug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions