I just found that the Simpletest 2.10 breaks tests invoking the batch API. Many exceptions on undefined variables in maintenance-page.tpl.php occur.
Reproduce:
- download latest Feeds for Drupal 6
- apply #600584: Use Batch API
- run "CSV import to users"
Digging around issues I found #321828-16: maintenance_page not registered correctly in drupal_common_theme() which fixes the problem. I will post a patch to Drupal 6 asap, but I actually wonder whether this couldn't be fixed on a Simpletest level.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 709646-1_batch.patch | 9.45 KB | alex_b |
Comments
Comment #1
alex_b commentedComment #3
alex_b commentedUm, of course this breaks because it's a D6 patch. NR by maintainer nevertheless.
Comment #4
dave reidPlease review this core patch: #867722: PHP notices when batch is used without JavaScript.