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

BUGFIX: Fix error msg of CountValidator #3376

Merged
merged 3 commits into from
Feb 16, 2023

Conversation

JamesAlias
Copy link
Contributor

@JamesAlias JamesAlias commented Feb 16, 2023

What I did
Fixed issue 4034 in Neos Repo.

How I did it
Fixed regression.
Wrote a unit test that checks that the validation function returns an React element with the correct props in case of an error.

How to verify it
Run tests.

Screenshot 2023-02-16 at 12 08 16 PM
Screenshot 2023-02-16 at 12 08 10 PM

@JamesAlias JamesAlias requested a review from dlubitz February 16, 2023 14:12
@ahaeslich
Copy link
Member

Is 8.3 the right target branch?

@ahaeslich ahaeslich added Bug Label to mark the change as bugfix 8.0 labels Feb 16, 2023
@ahaeslich
Copy link
Member

It seems to be a regression introduced with 8.0 in #2996.

@JamesAlias
Copy link
Contributor Author

It seems to be a regression introduced with 8.0 in #2996.

Should I rebase to 8.0?

@ahaeslich
Copy link
Member

ahaeslich commented Feb 16, 2023

It seems to be a regression introduced with 8.0 in #2996.

Should I rebase to 8.0?

If you rebase your branch on a older history you would transfer all changes since the 8.0 release and not just this one. It will be easier if you start a new branch based on 8.0 and cherry pick your changes.

@JamesAlias
Copy link
Contributor Author

If you rebase your branch on a older history you would transfer all changes since the 8.0 release and not just this one. It will be easier if you start a new branch based on 8.0 and cherry pick your changes.

Yeah I know, but for me I still call it 'rebasing', sry 😄

@JamesAlias JamesAlias force-pushed the bugfix-count-validator-error-msg-missing-min-max branch from 1c6379f to 34d2a08 Compare February 16, 2023 19:18
@JamesAlias JamesAlias changed the base branch from 8.3 to 8.0 February 16, 2023 19:18
@ahaeslich ahaeslich merged commit bbeebf5 into 8.0 Feb 16, 2023
@ahaeslich ahaeslich deleted the bugfix-count-validator-error-msg-missing-min-max branch February 16, 2023 20:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
8.0 Bug Label to mark the change as bugfix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG: Count Validator showing wrong error message
3 participants