Skip to content

Unable to correct a short invalid alias on a property #15762

Open
@JasonElkin

Description

@JasonElkin

Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)

v13.1.0

Bug summary

Issue is based on this PR by @richarth.

Original PR description:


When adding a new property with a short name such as A, an invalid alias will be created.

If you then correct just the alias you won't be able to save your new property. I've added a Playwright test which demos this.

You can get around this by changing the name and the alias but it isn't immediately obvious, as the error on the name isn't flagged.

I've also added a screen recording of the problem below.

e30ffb11-6344-427a-b6f3-a62a4e0b7ab1.mp4

Steps to reproduce

  1. Add a property and give it a single character alias (e.g. "a")
  2. Try and save the property, it fails.
  3. Make property alias longer
  4. Try and save the property, it still fails.

Expected result / actual result

Property editor can be saved after the alias is made longer.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions