- First commit to issue fork.
- @gombi opened merge request.
- 🇮🇳India dineshkumarbollu
Hi
I reviewed MR!2 it still as some D10 issues.
ndor/bin/drush upgrade_status:analyze micro_site
[notice] Processing /var/www/html/vb9/web/modules/contrib/micro_site.================================================================================
Micro site, 8.x-1.0-alpha8
Scanned on Fri, 06/23/2023 - 18:10FILE: web/modules/contrib/micro_site/micro_site.module
STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 96 Call to deprecated function file_create_url(). Deprecated in
drupal:9.3.0 and is removed from drupal:10.0.0. Use the
appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead.
--------------------------------------------------------------------------------
Check manually 96 Call to deprecated function file_url_transform_relative().
Deprecated in drupal:9.3.0 and is removed from
drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative()
instead.
--------------------------------------------------------------------------------
Check manually 298 Call to deprecated function file_create_url(). Deprecated in
drupal:9.3.0 and is removed from drupal:10.0.0. Use the
appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead.
--------------------------------------------------------------------------------
Check manually 298 Call to deprecated function file_url_transform_relative().
Deprecated in drupal:9.3.0 and is removed from
drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative()
instead.
--------------------------------------------------------------------------------
Check manually 384 Call to deprecated function file_create_url(). Deprecated in
drupal:9.3.0 and is removed from drupal:10.0.0. Use the
appropriate method on
\Drupal\Core\File\FileUrlGeneratorInterface instead.
--------------------------------------------------------------------------------
Check manually 384 Call to deprecated function file_url_transform_relative().
Deprecated in drupal:9.3.0 and is removed from
drupal:10.0.0. Use
Drupal\Core\File\FileUrlGenerator::transformRelative()
instead.
--------------------------------------------------------------------------------FILE: web/modules/contrib/micro_site/src/Entity/Site.php
- 🇸🇮Slovenia gombi
The Drupal Rector-provided patch was crashing my Drupal 10 site due to the usage of ModuleHandlerInterface::getImplementations() which was deprecated in Drupal 9.4 and removed in Drupal 10 (see https://www.drupal.org/node/3000490 → ). I've updated the implementation to use ModuleHandlerInterface::invokeAllWith(). Consequently, I've updated the core version requirement to ^9.4 || ^10.
MR !2 should be ready for review.
- 🇸🇮Slovenia gombi
Hi @dineshkumarbollu, thanks for taking the time to review.
I see that you ran upgrade_status:analyze for the micro_site module, not the micro_path module. Please check https://www.drupal.org/project/micro_site/issues/3288594 📌 [Micro Site] Automated Drupal 10 compatibility fixes Needs work for the D10 issues relating to micro_site.
Thanks!
- 🇮🇳India dineshkumarbollu
Hi @gombi
I will review the micro_patch sorry for my bad.
Thanks
- Assigned to dineshkumarbollu
- 🇮🇳India dineshkumarbollu
I reviewed the MR it as one D10 issue, I will work on this.
vendor/bin/drush upgrade_status:analyze micro_path
[notice] Processing /var/www/html/vb9/web/modules/contrib/micro_path-3288592.================================================================================
Micro Path, --
Scanned on Mon, 06/26/2023 - 12:45FILE: web/modules/contrib/micro_path-3288592/src/MicroPathHelper.php
STATUS LINE MESSAGE
--------------------------------------------------------------------------------
Check manually 251 Relying on entity queries to check access by default is
deprecated in drupal:9.2.0 and an error will be thrown from
drupal:10.0.0. Call
\Drupal\Core\Entity\Query\QueryInterface::accessCheck() with
TRUE or FALSE to specify whether access should be checked.
-------------------------------------------------------------------------------- - Issue was unassigned.
- 🇮🇳India dineshkumarbollu
I reviewed the MR!2 and fixed the D10 error which i mentioned in above comment. Also attaching D10 report.
Thanks
- 🇸🇮Slovenia gombi
Hi @dineshkumarbollu, thank you, I completely missed this one!
Going to leave this under Needs review so that someone else can review both our changes :)
- Status changed to Fixed
10 months ago 2:27pm 16 February 2024 Automatically closed - issue fixed for 2 weeks with no activity.