- 🇫🇷France AdlerM
Hello,
What news with Drupal 10 compatibility ?
thank you ! - 🇩🇪Germany jensschuppe
@AdlerM There's an issue fork with a Drupal-10-compatible version in #3344945 which includes these automated compatibility fixes and adjustments for deprecated base themes.
- Assigned to roshni27
- Status changed to Needs work
about 1 year ago 5:04am 25 September 2023 - 🇮🇳India roshni27
I have applied the patch mentioned above, and during the upgrade process, I encountered two warnings as indicated in the screenshot. I will work on resolving and upload patch soon.
- Issue was unassigned.
- Status changed to Needs review
about 1 year ago 5:06am 25 September 2023 - Status changed to RTBC
about 1 year ago 7:54am 25 September 2023 - 🇮🇳India Bushra Shaikh
I have reviewed and checked the patch #6 this works for drupal 9.5 and drupal 10.0. and 10.0.1
Screenshots of the compatibility on 9.5 have been attached for reference:Can be move to RTBC+1
- 🇫🇷France AdlerM
I used patch #6 with Drupal 10.1.4, it works but, you need to correct the calls to the obsolete function in /themes/custom/bfd/bootstrap_for_drupal.theme: 'file_create_url()' and 'drupal_get_path'
thank so much !
- 🇫🇷France AdlerM
Before
* file_create_url($uri)
* drupal_get_path('theme', 'seven')
After
* \Drupal::service('file_url_generator')->generateAbsoluteString($uri)* \Drupal::service('extension.list.theme')->getPath('seven')
- 🇩🇪Germany jensschuppe
The Issue fork branch in #3344945 already contains all those changes, see the branch diff. Please mark the other issue as RTBC so that the MR can be merged by maintainers.
- Status changed to Needs review
12 months ago 2:55pm 9 December 2023 This is an automated patch generated by Drupal Rector. Please see the issue summary for more details.
It is important that any automated tests available are run with this patch and that you manually test this patch.
Drupal 10 Compatibility
According to the Upgrade Status module → , even with this patch, this module is not yet compatible with Drupal 10.
Currently Drupal Rector, version 0.18.3, cannot fix all Drupal 10 compatibility problems.
Therefore this patch does not update the
info.yml
file for Drupal 10 compatibility.Leaving this issue open, even after committing the current patch, will allow the Project Update Bot → to post additional Drupal 10 compatibility fixes as they become available in Drupal Rector.
Debug info
Bot run #61455This patch was created using these packages:
- mglaman/phpstan-drupal: 1.2.4
- palantirnet/drupal-rector: 0.18.3