Add validation to path aliases

Created on 31 January 2025, 7 months ago

Overview

In early commits we added an override to core's PathItem to add validation. But in πŸ› Unable to create URL aliases with XB enabled Active that was found to be faulty, because we were applying path validation rules to the alias - path validation ensures that the path exists and returns a valid page - but that's not actually what we need for an alias.

Proposed resolution

Figure out the correct validation rules for an PathItem alias value, probably based on the constraints in the PathAlias entity, so we can report specific errors back to the front end.

User interface changes

Errors in path aliases will surface more correct error messages.

πŸ“Œ Task
Status

Active

Version

0.0

Component

Shape matching

Created by

πŸ‡¬πŸ‡§United Kingdom longwave UK

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024