Config schemas should not be removed in non-major versions

Created on 12 October 2023, almost 2 years ago

Problem/Motivation

Config schemas and deprecations are always tricky... I was testing the Webform 6.2.0-rc1 update from 6.1.7 with the config schema checker service enabled and I bumped into the following error:

 $ drush updb -y
 --------- -------------------------------- ------------- ----------------------------------------------------------------------------------------------------------------- 
  Module    Update ID                        Type          Description                                                                                                      
 --------- -------------------------------- ------------- ----------------------------------------------------------------------------------------------------------------- 
  webform   ckeditor                         post-update   Move from custom CKEditor to hidden 'webform_default' text format.                                               
  webform   ckeditor01                       post-update   Issue #3351348: '#multiple__no_items_message' added to every field.                                              
  webform   confirmation_page_noindex        post-update   #3335924: Allow the confirmation page to include robots noindex meta tag.                                        
  webform   deprecate_jquery_ui_datepicker   post-update   #3254570: Move jQuery UI datepicker support into dedicated deprecated module.                                    
  webform   deprecate_location_places        post-update   Issue #3247475: Location field Algolia Places sunsetting May 31, 2022.                                           
  webform   multiple_categories              post-update   Issue #3339769: Improve Webform categorization to support assigning multiple categories and default categories.  
 --------- -------------------------------- ------------- ----------------------------------------------------------------------------------------------------------------- 


 // Do you wish to run the specified pending updates?: yes.                                                             

>  [notice] Update started: webform_post_update_ckeditor
>  [error]  Schema errors for webform.settings with the following errors: webform.settings:element.default_algolia_places_app_id missing schema, webform.settings:element.default_algolia_places_api_key missing schema 
>  [error]  Update failed: webform_post_update_ckeditor 

The root cause of this is the removed config schema definition instead of marking it deprecated in https://git.drupalcode.org/project/webform/-/commit/be63472#2a48fc50f0af... (config/schema/webform.settings.schema.yml).

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Fixed

Version

6.2

Component

Code

Created by

πŸ‡­πŸ‡ΊHungary mxr576 Hungary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024