-
Notifications
You must be signed in to change notification settings - Fork 443
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 Fix - new ui] : Fix bug on list type hp #1704
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: seong7 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Hi @seong7. Thanks for your PR. I'm waiting for a kubeflow member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
/ok-to-test |
Thanks for your contribution! 🎉 👍 /assign @andreyvelich |
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.
Thank you for this fix @seong7!
/assign @kimwnasptd
The changes LTGM, also @seong7 very good job on describing the problem in the first message! Could you only remove the changes in the |
Everything looks good, thanks for the work @seong7 and apologies for the delay! /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: kimwnasptd, seong7 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it:
This PR fixes a bug described below.
When user edits hyper parameters' type from
'int' or 'double'
to'Categorical' or 'Discrete'
and save the values,The page falls into infinite error loop.
This bug has been caused by this line in
parameter.component.ts
.The method setValue() of
FormGroup
throws when the new value is not exactly in the same structure of the existing FormControl.This case, the existing
Control
has already been initialized as the structure below.(This is the difference compared to 'adding a new param'. When adding, the error does not occur.)
But the new value has a different structure as below.
To replace a
Control
in aFormGroup
, we should use the methodsetControl()
instead ofsetValue()
.Which issue(s) this PR fixes (optional, in
fixes #<issue number>(, fixes #<issue_number>, ...)
format, will close the issue(s) when PR gets merged):Fixes #
Checklist: