Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V14 - Custom validation message doesn't display correctly #16785

Closed
elit0451 opened this issue Jul 17, 2024 · 0 comments · Fixed by umbraco/Umbraco.CMS.Backoffice#2237
Closed
Assignees
Labels
affected/v14 area/frontend state/reproduced state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks type/bug

Comments

@elit0451
Copy link
Contributor

elit0451 commented Jul 17, 2024

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

v14.1.0

Bug summary

Trying to save content with invalid property that has custom validation set, shows incorrectly formatted error under the property - #validation_invalidPattern. See the video for more details:

ValidationMsg.mov

Specifics

No response

Steps to reproduce

  • Create a document type with a Textstring property;
  • Set custom validation on that property - for example "Validate as an email address";
  • Create a content node with that document type;
  • Try to Publish with a value in that property that is not in an email format.

Expected result / actual result

Expected - in v13 we show "Value is invalid, it does not match the correct pattern".
Actual - #validation_invalidPattern.


This item has been added to our backlog AB#42628

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affected/v14 area/frontend state/reproduced state/sprint-candidate We're trying to get this in a sprint at HQ in the next few weeks type/bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants