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.
submitAjaxFacetSourceConfigForm breaks machine_name validation.
A similar issue: https://www.drupal.org/node/2657674. The same steps to reproduce (but in facets context).
Patch is attached.
Comment | File | Size | Author |
---|---|---|---|
#4 | facets-facets_facet_already_exists-2657706-4.patch | 2.74 KB | alan-ps |
facets-facets_facet_already_exists.patch | 445 bytes | alan-ps |
Comments
Comment #2
borisson_Is it possible to write a regression test for this?
Comment #3
alan-ps CreditAttribution: alan-ps commentedsure, I will look at issue on this weekend.
Comment #4
alan-ps CreditAttribution: alan-ps commentedNew patch with an appropriate test case.
Comment #5
borisson_Awesome, the test looks great. I'm assuming the test-only will be red, just as the search api one is?
Comment #6
borisson_Comitted and pushed, thanks for the issue and the patch.
Comment #7
borisson_Adding tag.