Problem/Motivation
Adding the G2 filters to the input formats on a Drupal 11 dev version triggers error 'stop_list' is an unknown key because filters.g2:automatic.id is g2:automatic (see config schema type filter_settings.*).
Steps to reproduce
- Install D11
- Composer install G2, which also installs contrib statistics and XMLRPC
- Enable G2
- Navigate to
/admin/config/content/formats/manage/basic_html?destination=/admin/config/content/formats - Check the DFN filter
- Submit
- Observe the error
Note that the same problem does not happen on D10 with an identical workflow.
Proposed resolution
TBD
Remaining tasks
TBD
User interface changes
None
API changes
None
Data model changes
Maybe a config schema change.
Issue fork g2-3439867
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
fgmComment #3
fgmThe problem is the filter ID. In the existing version, the filter IDs are
g2:defandg2:automatic, which does not match the schema names found to beg2_definitionandg2_automatic. Aligning on those names removes this issue.However fixing this shows that validation fails on the stop_list contents, which is expected to be a sequence but is stored as a string.
Comment #6
fgmMerged to current dev HEAD.