Closed (fixed)
Project:
IMCE
Version:
3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2024 at 09:37 UTC
Updated:
21 Jul 2024 at 19:59 UTC
Jump to comment: Most recent
There are couple of schema definitions which contains incompatible types. For ex: Schema definitions should be an object while it contains an array. When running tests on Drupal Core 11, it throws an error and fails the tests. Ex errors:
Drupal\Core\Config\Schema\SchemaIncompleteException: Schema errors for imce.profile.admin with the following errors: imce.profile.admin:conf.usertab missing schema, imce.profile.admin:conf.extensions missing schema, imce.profile.admin:conf.maxsize missing schema, imce.profile.admin:conf.quota missing schema, imce.profile.admin:conf.maxwidth missing schema, imce.profile.admin:conf.maxheight missing schema, imce.profile.admin:conf.replace missing schema, imce.profile.admin:conf.thumbnail_style missing schema, imce.profile.admin:conf.thumbnail_grid_style missing schema, imce.profile.admin:conf.ignore_usage missing schema, imce.profile.admin:conf.url_alter missing schema, imce.profile.admin:conf.folders missing schema
We've to update the `imce.schema.yml` and fix the Schema validation: Incompatible types error because it expects an object, while we provided an array.
Before:
sequence:
- type: imce.profile_conf.[%key]
After:
sequence:
type: imce.profile_conf.[%key]
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 #4
ankitv18 commentedPlease review the MR!29
Comment #5
chandu7929 commentedVerified changes locally as well by running tests on D11 and all test are passing now. Hence RTBC.
Comment #6
chandu7929 commented@ufku Can you please merge and release?
Comment #8
ufku commentedFixed. Thanks.