Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Integer validation error not shown for user profile fields #42178

@ahus1

Description

@ahus1

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

user-profile

Describe the bug

When I create a field in the user profile and add a length min/max validation to it, the error message doesn't show in the admin UI, the user is not saved, and an exception is shown in the console.

Version

main

Regression

  • The issue is a regression

Expected behavior

The validation error should be shown.

Actual behavior

No validation error is shown

How to Reproduce?

Create a new field and add a length validation to it

Image Image

Anything else?

The problem is that the length validation error adds integer parameters, while front end only expects strings.

I'll provide a fix.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions