-
Notifications
You must be signed in to change notification settings - Fork 167
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
Fix workbench new connection env warning / editing new connection / and save failure handling #3462
Fix workbench new connection env warning / editing new connection / and save failure handling #3462
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3462 +/- ##
=======================================
Coverage 85.66% 85.66%
=======================================
Files 1347 1347
Lines 30670 30676 +6
Branches 8550 8554 +4
=======================================
+ Hits 26272 26278 +6
Misses 4398 4398
... and 5 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Editing an existing connection ends up with a duplicate entry in the table. |
aaf5a3c
to
43045d5
Compare
Fixed, a 4th issue.
|
works as expected /lgtm |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: christianvogt 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 |
(cherry picked from commit 4066b69)
* Upversion Dashboard * Check and use response of connection saving (#3462) (cherry picked from commit 4066b69) * enable connection types by default (#3452) (cherry picked from commit c575d1f) --------- Co-authored-by: Emily Samoylov <[email protected]> Co-authored-by: Christian Vogt <[email protected]>
Closes https://issues.redhat.com/browse/RHOAIENG-15584
Description
When creating a new connection is created, it uses the connection made from
assembleConnection
which has its data insidestringData
notdata
so check those.So this fixes 3 different issues oddly:
assembleConnection()
put the data intostringData
notdata
stringData
All of these are fixed by using the response of the save / replace and verifying it was successful
Before:
After:
Note the fields
before:
after:
How Has This Been Tested?
Duplicate env:
Connection saving success gate:
Editing a new connection:
Test Impact
No updates, it's a bit tedious to test these edge cases since it requires a few steps across different components.
Request review criteria:
Self checklist (all need to be checked):
If you have UI changes:
After the PR is posted & before it merges:
main