Closed (fixed)
Project:
IMCE
Version:
8.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
2 Apr 2020 at 21:38 UTC
Updated:
18 Apr 2020 at 02:29 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
darchuletajr commentedHi I ran the upgrade-status tool which told me that in ImceHelpController.php there is a deprecated function: Call to deprecated function system_get_info(). Deprecated in drupal:8.8.0 and is removed from drupal:9.0.0. Use \Drupal::service('extension.list.$type')->getExtensionInfo() or \Drupal::service('extension.list.$type')->getAllInstalledInfo() instead.
I made a quick patch.
Comment #3
xem8vfdh commentedawesome, thanks for the quick response @darchuletajr. I was hoping to run the drupal-check tool to get a detailed report, but I am stuck with this bug. I'm not familiar with the upgrade-status tool you ran, is it comprehensive? In other words, do you think your patch covers all of our bases here?
I believe there is also a
composer.jsonchange that should be made to add the Drupal 9 support badge to the module's main page, as explained here: https://www.drupal.org/project/auto_entitylabel/issues/3111526Comment #4
darchuletajr commentedHi @xeM8VfDh
I used the upgrade_status tool here: https://www.drupal.org/project/upgrade_status
I am not 100% sure of the comprehensiveness but it is based on the drupal-check tool. I also was looking at this deprecation status tool from Acquia though I think it is a bit outdated: https://dev.acquia.com/drupal9/deprecation_status/errors?project=imce%201.7
In any case I made another patch to update the composer.json with the Drupal 9 check and I also updated the GPL license to validate with composer validate, related issue here: https://www.drupal.org/project/drupal/issues/2935137
Comment #5
darchuletajr commentedI'm trying to look into the comprehensiveness. There are two other warnings that come up that I'm not sure how to get rid of them or if I can.
Comment #6
salah1Greetings,
I have just run drupal-check (both analysis + deprecation) and attached is the result.
There are only 2 deprecations coming up which are addressed by #4.
However, there are other warnings -see txt file
Comment #7
salah1Hi @darchuletajr, about your question on#5 -those warnings also showed up on drupal-check report#6
I can't find that class either on imce/src so maybe an issue there with....or namespace...
Comment #8
thallesThe warnings in exist because IMCE allows integration with the bueditor module (another WYSIWYG)
Comment #9
xem8vfdh commentedyou all are awesome, thanks for working on this!
Comment #11
thallesThanks everyone!
Comment #12
thallesFixed on dev branch, but the composer shoul be updated in another issue!
Comment #13
xem8vfdh commentedComment #14
xem8vfdh commented@thalles, please see https://www.drupal.org/project/imce/issues/3124912
Comment #15
xem8vfdh commentedComment #16
xem8vfdh commented