Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Running Upgrade Status Beta1 for Drupal 8
According to http://hojtsy.hu/blog/2019-jul-19/first-beta-upgrade-status-drupal-8-out... the Upgrade Status module can scan you modules for Drupal 9 readiness.
I've done a scan locally using Drupal Gutenberg 8.x-1.5 and got the following warnings:
Upgrade Status report
Contributed modules and themes
Gutenberg Editor 8.x-1.5
Scanned on Mon, 08/05/2019 - 15:31.
2 warnings found.
Our goal is that Drupal Gutenberg will have a stable release for Drupal 9 when Drupal 9 is released.
Status | File name | Line | Error |
---|---|---|---|
Check manually | modules/contrib/gutenberg/scripts/gutenberg-dependencies.php | Class scanDir was not found while trying to analyse it - autoloading is probably not configured properly. | |
Fix later | modules/contrib/gutenberg/src/Controller/MediaController.php | 135 | Call to deprecated function file_prepare_directory(). Deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileSystemInterface::prepareDirectory(). |
Remaining tasks
Decide what needs to be done for the warnings and create related issues to them.
Comment | File | Size | Author |
---|---|---|---|
#9 | d9-gutenberg-3072711-9.patch | 372 bytes | gmangones |
Skjermbilde 2019-08-05 kl. 15.38.15.png | 76.83 KB | thorandre |
Comments
Comment #2
sayco CreditAttribution: sayco commentedI've created a child issue https://www.drupal.org/project/gutenberg/issues/3074249 for replacing file_prepare_directory function.
We need to think of the approach for the first issue.
First, we need to determine if we still gonna use this script.
I couldn't find any place where this file is used, but if it is, then we should really think of rewriting it to some kind of service, to instantiate the service correctly in Drupal.
From what I can see this script handle overwriting the libraries.yml file for new libraries (nodes modules etc.) If so, should rather make it dynamically in hook instead of rewriting the file I suppose.
Comment #3
marcofernandes CreditAttribution: marcofernandes at Frontkom commentedgutenberg-dependencies.php is a build script. It generates the gutenberg.libraries.yml file with all the info from gutenberg core packages. Should be only used when upgrading Gutenberg packages and build a module release.
Comment #4
marcofernandes CreditAttribution: marcofernandes at Frontkom commentedComment #6
marcofernandes CreditAttribution: marcofernandes at Frontkom commentedComment #7
rpsuAdded a few comments in https://git.drupalcode.org/project/gutenberg/commit/741b9b6
Comment #8
gmangones CreditAttribution: gmangones as a volunteer and at weKnow Inc commented@rpsu what are the errors or warnings reported on Gutenberg module? how can i contribute.
Thank's
Comment #9
gmangones CreditAttribution: gmangones at weKnow Inc commentedHi, was added compatibility drupal 9 for gutenberg module.
Thank's
Comment #10
henrikakselsen CreditAttribution: henrikakselsen at Frontkom commentedLooks like this was added on both branches
- https://git.drupalcode.org/project/gutenberg/-/blob/8.x-1.11/gutenberg.i...
- https://git.drupalcode.org/project/gutenberg/-/blob/8.x-2.x/gutenberg.in...
Closing. Please reopen if I was mistaken.