-
Notifications
You must be signed in to change notification settings - Fork 670
Bug 1801212: Fix to show error message when URL validation fails #4268
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
Bug 1801212: Fix to show error message when URL validation fails #4268
Conversation
|
@jeff-phillips-18: This pull request references Bugzilla bug 1801212, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/kind bug |
e5e2823 to
acfabd5
Compare
|
/retest |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe this should be on InputFieldProps?
Not a big fan of tri-state booleans. Maybe use PatternFly's ValidatedOptions, or at least add a comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
acfabd5 to
8c7d827
Compare
8c7d827 to
239091d
Compare
239091d to
bcd92bb
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this still boolean? I think it should also be
| isUrlValidated?: boolean; | |
| isUrlValidated?: ValidatedOptions; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename this from isUrlValidated to something else since its not a boolean anymore. Something like validationStatus?
|
Waiting on merge of #4187 to refactor |
|
/cherrypick release-4.4 |
|
@jeff-phillips-18: once the present PR merges, I will cherry-pick it on top of release-4.4 in a new PR and assign it to you. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
bcd92bb to
ea68168
Compare
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: jeff-phillips-18 The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
Fixes:
https://issues.redhat.com/browse/ODC-2944
Analysis / Root cause:
When validation of the URL fails, the validation error and validation state were not being passed along to the InputText component.
Solution Description:
Pass the validation error and validation state to the InputText component
** Sample Screen Shots **

Browser conformance: