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.
Problem/Motivation
The batch_process_limit has been removed from the settings schema in 3.x. When updating from 2.x to 3.x this key is not removed and the config does not match the expected schema. This causes our phpunit tests to fail, which enforce strict configuration schema adherence, and is generally not a good idea.
Proposed resolution
Remove batch_process_limit in update hook.
Comment | File | Size | Author |
---|---|---|---|
#3 | 3063870-3.patch | 562 bytes | daniel.bosen |
|
Comments
Comment #2
daniel.bosenI will upload a patch soon.
Comment #3
daniel.bosenComment #4
daniel.bosenComment #5
chr.fritschYou should better check for !isNew() here
Comment #6
chr.fritschOk, forget about my last comment. I was a bit stupid... I thought about the entire config file, not just a single config key...
This looks good to me.
Comment #8
gbyte CreditAttribution: gbyte as a volunteer and at gbyte commentedThanks.