Issue #3392196: Exceptions in batch no longer are shown on the page
1 unresolved thread
Merge request reports
Activity
55 55 return $output; 56 56 } 57 57 elseif (isset($output)) { 58 $output['batch_messages'] = [ 59 '#type' => 'status_messages', 60 '#include_fallback' => TRUE, 61 ]; - Comment on lines +58 to +61
Ok. This makes the JS test on this issue pass but makes other functional tests fail.
for example
\Drupal\Tests\locale\Functional\LocaleImportFunctionalTest::testStandalonePoFile
fails because it expects a messages to be on the page after the batch process. in 11.x I think any calls to messages via the messenger service will not get rendered until after the batch process. But add this seems to override'#show_messages' => FALSE
, below.it does make sense to not show the messages until after but also that we want the JS call back error to show up on the page.
added 2 commits
added 307 commits
-
5b307c77...b1a87360 - 291 commits from branch
project:11.x
- b1a87360...bca002fe - 6 earlier commits
- feb5de3d - phpcbf
- a447dc01 - js test
- 465c4c35 - only test these 2 tests
- 188e0427 - fix test group
- 344e4bbb - change group to Batch
- fc54d338 - fix drupalci
- 674e2ecc - run on Batch group
- cc31c18f - Apply patch from #3396559
- c833fdc2 - Add status messages with fallback to batch controller page
- 017d7cff - revert changes to drupalci.yml
Toggle commit list-
5b307c77...b1a87360 - 291 commits from branch
Please register or sign in to reply