- Issue created by @_tarik_
- Merge request !8098Issue #3447611 by _tarik_: Added code that moves additional actions from the... → (Open) created by _tarik_
- Issue was unassigned.
- Status changed to Needs review
7 months ago 2:07pm 16 May 2024 - 🇺🇦Ukraine _tarik_ Lutsk
I have added simple code that will move additional action buttons before the actions array are deleted from the form.
FYI: The changes are compatible with the Drupal 10.2.5
- Status changed to Needs work
7 months ago 2:41pm 16 May 2024 - 🇺🇸United States smustgrave
Question is this reproducible in just core and only with the contrib?
Believe we will need a test case to show the issue.
- 🇺🇸United States bnjmnm Ann Arbor, MI
This can be reproduced without contrib, but will require a simple test module that form_alters the views bulk operations form and adds an additional item to
$form['actions']
. In HEAD, you can confirm the reported bug is occuring as that new item will not appear in the views bulk form. The solution is for Claro to still unset$form["actions"]["submit"]
but anything else in$form["actions"]
should get moved to$form['bulk_actions_container']
- First commit to issue fork.
- Status changed to Needs review
7 months ago 7:23am 6 June 2024 Added a test module that alters the form and also added test that verifies that the issue exists and also covering the solution.
- Status changed to Needs work
7 months ago 12:34pm 6 June 2024 - 🇺🇸United States bnjmnm Ann Arbor, MI
Can this get a test-only branch or patch to confirm it fails without the fix? Be sure to customize drupalci → so it runs only this newly added test and not the full 30 minutes of Drupal core tests.
- Status changed to Needs review
7 months ago 6:02am 7 June 2024 - Status changed to Needs work
6 months ago 1:45pm 12 June 2024 - 🇺🇸United States smustgrave
Left some comments
But tests appear to be passing when assuming they should be failing correct/
But tests appear to be passing when assuming they should be failing correct/
@smustgrave if you look at the tests,it asserts that the button is not present.As Ben mention in #9 🐛 Claro theme loses actions for the view bulk operations form Needs review that we only want a test to confirm that the issue exist but not the fix(alteast latest till #9).
- Status changed to Needs review
6 months ago 8:27am 13 June 2024 Utkarsh_33 → changed the visibility of the branch 3447611-claro-theme-loses-test-only to hidden.
Utkarsh_33 → changed the visibility of the branch 3447611-claro-theme-loses-test-only to active.
- 🇺🇸United States smustgrave
Right so I would of expected the test only branch to fail and show the bug
- 🇺🇸United States smustgrave
smustgrave → changed the visibility of the branch 3447611-claro-theme-loses-test-only to hidden.
- Status changed to RTBC
6 months ago 10:54pm 19 June 2024 - 🇺🇸United States smustgrave
1) Drupal\FunctionalJavascriptTests\Theme\ClaroViewsBulkOperationsTest::testViewBulkOperationAlter Behat\Mink\Exception\ElementNotFoundException: Button with id|name|label|value "Custom button" not found. /builds/issue/drupal-3447611/core/tests/Drupal/Tests/WebAssert.php:158 /builds/issue/drupal-3447611/core/tests/Drupal/FunctionalJavascriptTests/Theme/ClaroViewsBulkOperationsTest.php:124 FAILURES! Tests: 2, Assertions: 33, Failures: 1.
Now seeing the failing test on the MR. Removing tag
Believe feedback has been addressed, code change looks fine.
- 🇳🇿New Zealand quietone
I read the IS, comments, and the MR. All questions are answered and the comments in the MR are fine.
Leaving at RTBC
- Status changed to Needs review
5 months ago 11:24pm 21 July 2024 - 🇦🇺Australia larowlan 🇦🇺🏝.au GMT+10
Left some questions on the MR, feel free to self-RTBC after replying/changes
- Status changed to Needs work
5 months ago 2:10pm 29 July 2024 - 🇺🇸United States smustgrave
For the open threads. @bnjmnm assuming you wanted to take a look assigning the MR.