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 commit http://drupalcode.org/project/captcha.git/commit/c43bcc5 has changed the defaults incorrectly and does not follow core code style.
Proposed resolution
Rollback half patch
Remaining tasks
None
User interface changes
None
API changes
None
Original report:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for captcha.settings with the following errors:
captcha.settings:administration_mode variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData,
captcha.settings:allow_on_admin_pages variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData,
captcha.settings:add_captcha_description variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData,
captcha.settings:enable_stats variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData,
captcha.settings:log_wrong_responses variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData
in Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave() (line 98 of /var/lib/drupaltestbot/sites/default/files/checkout/core/lib/Drupal/Core/Config/Testing/ConfigSchemaChecker.php). Drupal\Core\Config\Testing\ConfigSchemaChecker->onConfigSave(Object, 'config.save', Object) Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch('config.save', Object) Drupal\Core\Config\Config->save(1) Drupal\Core\Config\ConfigInstaller->createConfiguration('', Array) Drupal\Core\Config\ConfigInstaller->installDefaultConfig('module', 'captcha') Drupal\Core\Extension\ModuleInstaller->install(Array, 1) Drupal\simpletest\WebTestBase->setUp() Drupal\recaptcha\Tests\ReCaptchaBasicTest->setUp() Drupal\simpletest\TestBase->run(Array) simpletest_script_run_one_test('1', 'Drupal\recaptcha\Tests\ReCaptchaBasicTest')
Comment | File | Size | Author |
---|---|---|---|
#7 | Issue-2486067-by-hass-Rollback-changed-defaults-and-.patch | 949 bytes | hass |
Comments
Comment #1
hass CreditAttribution: hass commentedThis should fix the issue that breaks my reCAPTCHA test runs, see https://qa.drupal.org/pifr/test/1029843
Comment #2
hass CreditAttribution: hass commentedComment #4
hass CreditAttribution: hass commentedComment #6
hass CreditAttribution: hass commentedhttp://drupalcode.org/project/captcha.git/commit/c43bcc5
Comment #7
hass CreditAttribution: hass commentedNew patch for latest settings file.
Comment #8
hass CreditAttribution: hass commentedComment #9
hass CreditAttribution: hass commentedComment #10
BerdirLooks fine.
Comment #11
wundo CreditAttribution: wundo at Chuva Inc. commentedComment #12
wundo CreditAttribution: wundo at Chuva Inc. commentedComment #16
BerdirBranch tests green again :)