Closed (fixed)
Project:
Configurable Views Filter Block
Version:
1.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 May 2023 at 10:15 UTC
Updated:
28 Dec 2023 at 17:34 UTC
Jump to comment: Most recent
Comments
Comment #3
tim-dielsProvided default schema to make labels translatable. A follow up issue can be added to provide a correct schema for all settings.
Comment #4
borisson_While this is correct, and it does make the configuration translatable, it is only because the views_block config schema is configured like this:
Actually, because of all the core config schema validation stuff that his happening lately this is a good way to do it, because it will automatically get all the improvements from core.
I started out this comment by wanting to have this explicitly configured here, but I think the solution by @tim-diels actually makes a lot of sense, because it builds on existing schema configuration.
Looks good to me.
Comment #5
Mecmecker commentedTested and works for me on Drupal 10 php version 8.1.12
Comment #6
carlosmonroy commentedI have tested the changes and it works fine
Comment #7
joanpebupe commentedWhat provided by @tim-diels in #3 looks good to me as well.
Comment #8
guillemsm commentedThe schema for the module is working and making it translatable in Drupal version 10.1.7 and PHP v8.1.26
Comment #9
antoniodp commentedFor mi works well #3 with drupal 10.1.5 and PHP 8.1.20.
Thanks
Comment #10
bernat martí pareja commentedThe fork provided by Tim makes the block translatable.
Comment #12
manuel.adanI added the full schema on top of the existing changes, keeping the idea of extending core views block schema.
Comment #13
tim-dielsActually there was a follow up issue #3358436: Provide full schema to build further on this.
Comment #14
guillemsm commentedThe completed schema has been checked and seems to work.
Using the config_inspector module there was 6 errors before applying the patch and after applying the new schema the config_inspector report indicates that everything is fine.
Comment #16
manuel.adanCommitted, thanks!