-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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(explore): Persist URL params to form-data #21792
Conversation
84e6524
to
9f78ee9
Compare
@@ -19,7 +19,7 @@ | |||
from typing import Any, cast, Dict, Optional | |||
|
|||
import simplejson as json | |||
from flask import current_app as app |
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.
No need for misdirection.
Codecov Report
@@ Coverage Diff @@
## master #21792 +/- ##
==========================================
+ Coverage 66.11% 66.86% +0.74%
==========================================
Files 1803 1803
Lines 68996 68997 +1
Branches 7349 7349
==========================================
+ Hits 45616 46132 +516
+ Misses 21487 20972 -515
Partials 1893 1893
Flags with carried forward coverage won't be shown. Click here to find out more.
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
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.
LGTM. Thanks for the fix!
The tests are in |
9f78ee9
to
5d2b738
Compare
Thanks for the tip @michael-s-molina. I added a test. |
SUMMARY
This PR fixes a regression introduced in #20399 where the URL parameters—which are defined in the request arguments—were not persisted to the form-data, i.e., the code did not adhere the the existing logic defined in the soon to be deprecated legacy endpoint here.
BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF
TESTING INSTRUCTIONS
Added unit tests.
ADDITIONAL INFORMATION