Problem/Motivation
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for search_api.server.pantheon_search with the following errors: search_api.server.pantheon_search:backend_config.connector_config missing schema, search_api.server.pantheon_search:backend_config.disabled_request_handlers variable type is NULL but applied schema class is Drupal\Core\Config\Schema\Sequence, search_api.server.pantheon_search:backend_config.disabled_request_dispatchers variable type is NULL but applied schema class is Drupal\Core\Config\Schema\Sequence
this is an automated testing only issue. When you run PHPUnit tests, part of the testing procedure ensures that all config you are importing has a valid schema, and since the schema being provided by this module is being reported as invalid, when using this module as part of an automated test, the test always fails.
So as an example, if I have a my_module.info.yml, and in my dependencies of the module, I list search_api_pantheon, and then I have a Functional test in my module, my test will fail 100% of the time.
Steps to reproduce
To reproduce, you can probably just add a FunctionalTest to your project, and that should start to fail.
Proposed resolution
If you see changes between 8.2.2 and 8.3.1 the schema file config/schema/search_api_pantheon.connector.pantheon.schema.yml is deleted
https://git.drupalcode.org/project/search_api_pantheon/-/compare/8.2.2.....
This seems to be related to https://www.drupal.org/project/search_api_pantheon/issues/3262003 which was fixed a while ago and its again broken in 8.3.1 release
Remaining tasks
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | Screenshot from 2025-07-10 16-23-19.png | 36.38 KB | divyansh.gupta |
| #13 | Screenshot from 2025-07-10 16-23-00.png | 267 KB | divyansh.gupta |
| #3 | search_api_pantheon-3505380-3.patch | 480 bytes | jeffm2001 |
Issue fork search_api_pantheon-3505380
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
nitesh624Comment #3
jeffm2001 commentedHere's a patch. It simply restores the schema file from 8.2.2 and everything works fine.
Comment #4
nitesh624Comment #5
nitesh624Still I am getting the schema issue after applying patch
Schema errors for search_api.server.pantheon_search with the following errors: search_api.server.pantheon_search:backend_config.disabled_request_handlers variable type is NULL but applied schema class is Drupal\Core\Config\Schema\Sequence, search_api.server.pantheon_search:backend_config.disabled_request_dispatchers variable type is NULL but applied schema class is Drupal\Core\Config\Schema\SequenceComment #6
dhruv.mittal commentedComment #8
dhruv.mittal commentedKindly review
Comment #9
nitesh624Still seeing the below error
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for search_api.server.pantheon_search with the following errors: search_api.server.pantheon_search:backend_config.disabled_request_handlers variable type is NULL but applied schema class is Drupal\Core\Config\Schema\Sequence, search_api.server.pantheon_search:backend_config.disabled_request_dispatchers variable type is NULL but applied schema class is Drupal\Core\Config\Schema\SequenceComment #10
dhruv.mittal commentedpreviously I added ' { } ' instead of ' [ ] ' . Kindly review now.
Comment #11
nitesh624I am using https://www.drupal.org/files/issues/2025-03-06/search_api_pantheon-35053... from #3 and it solved the missing schema but after that I was getting schema mismatch error
But apart from this I also had to make below changes
Comment #12
nitesh624Here is my complete patch file content
Comment #13
divyansh.gupta commentedI was able to reproduce this error and this MR applied successfully for me,


Before:
After:
And the changes looks good to me.
Thus moving this to RTBC!!
Comment #14
roshnykunjappan commentedThis issue is fixed in the latest release 8.3.2. Thank you all for the contribution.
Comment #15
roshnykunjappan commented