Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
If you try to use reset on an exposed form, you get a redirect loop... uh oh.
First things first, here are some tests for it. So should fail to start with as there is no fix yet.
The patch also changes the base class to UITestBase, so it then creates admin users for us.
EDIT: Oh and I changed the yaml file name for the test view from test_rename_reset_button to test_reset_button.
Comment | File | Size | Author |
---|---|---|---|
#3 | 1826008-3.patch | 4.45 KB | damiankloip |
views-reset-button-tests.patch | 3.85 KB | damiankloip | |
Comments
Comment #2
dawehner#1807916: Reset button on exposed filters causes a redirect loop seems to be the related issue.
Comment #3
damiankloip CreditAttribution: damiankloip commentedLet's add the small fix from over there (link from #2), to here. Then we *should* have a passing test...
Comment #4
dawehnerWe have tests, we have a fix which works for people in d7 already and we have a proper looking code.
Comment #5
catchLooks fine. Committed/pushed to 8.x.
Comment #6.0
(not verified) CreditAttribution: commentedUpdated issue summary.