And maybe in module sdc_block to solve this issue? https://www.drupal.org/project/sdc_block/issues/3456851 📌 Support Drupal 10.3 SDC deprecation Active
@pcambra super! thanks to all.
Thanks Rajab, perfect make sense.
Hello @rajab. Out of curiosity, why do you use a static version of the patch and not the MR version? The MR version may make it more unstable, but it will include the latest changes from the patch which should be good. Is it because of this instability that you prefer the static version?
Can we release a new beta version with this patch so this module work in Drupal 10.3 out of the box?
Great!
@digitaltodd About the issue that you mention in #6, have you appied the cl_editorial patch as I indicated in comment #5? This issue https://www.drupal.org/project/cl_editorial/issues/3456850 📌 Support Drupal 10.3 SDC deprecation RTBC
Note for anyone who needs to know how to apply the patches, add these patches to composer.json:
"extra": {
...
"patches": {
"drupal/cl_editorial": {
"#3456850: Support Drupal 10.3 SDC deprecation": "https://git.drupalcode.org/project/cl_editorial/-/merge_requests/12.patc"
}
},
},
And execute:
composer update drupal/cl_editorial
See the doc https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr... →
Note for anyone who needs to know how to apply the patches, add these patches to composer.json:
"extra": {
...
"patches": {
"drupal/cl_editorial": {
"#3456850: Support Drupal 10.3 SDC deprecation": "https://git.drupalcode.org/project/cl_editorial/-/merge_requests/12.patc"
},
"drupal/sdc_display": {
"#3458639: The module is not compatible with Drupal 10.3.0": "https://git.drupalcode.org/project/sdc_display/-/merge_requests/14.patch"
}
},
},
And execute:
composer update drupal/cl_editorial drupal/sdc_display
See the doc https://www.drupal.org/docs/develop/git/using-gitlab-to-contribute-to-dr... →
I just try this path and it solved the issues.
Note for anyone who needs to know how to apply the patches, add these patches to composer.json:
"extra": {
...
"patches": {
"drupal/cl_editorial": {
"#3456850: Support Drupal 10.3 SDC deprecation": "https://www.drupal.org/files/issues/2024-07-01/3456850-3.patch"
},
"drupal/sdc_block": {
"#3456851: Support Drupal 10.3 SDC deprecation": "https://git.drupalcode.org/project/sdc_block/-/merge_requests/3.patch"
}
},
},
And execute:
composer update drupal/cl_editorial drupal/sdc_block
I just try this path and it solved the issues.
I was facing this error #4 too en Drupal 10.3, and #3 path solved the error.
I confirm the bug too:
Drupal 9.5.5
Date Popup 8.x-1.3
Tokens in Views Filter Criteria 8.x-1.5
I guess that the problem is that both modules are using the hook_views_plugins_filter_alter
to register own plugin class.
In yout patch #3 the second $element['min']['#attributes']['type'] = 'date';
should be ['max']
I guess.