nuvoleweb / ui_patterns

[NOTE] Development has moved to https://drupal.org/project/ui_patterns
https://drupal.org/project/ui_patterns
GNU General Public License v2.0
85 stars 56 forks source link

Drupal 9 compatibility #291

Closed pdureau closed 4 years ago

pdureau commented 4 years ago

Hi all,

Drupal 9 is coming in 2 months. According to drupal-check, there are 7 compatibility issues with ui_patterns project (autoloading issues removed):

Once done, we need to change all info.yml files:

Add core_version_requirement: ^8 || ^9 to designate that the module is compatible with Drupal 9. See https://www.drupal.org/node/3070687.

I would be glad to do a pull request for that. But I am not sure the maintaining team is still very active and available to review it.

paulmoloneyuk commented 4 years ago

I've tried to make a start on this - do we know the status of the maintenance team for this module? My team would love to help get this D9 ready!

ademarco commented 4 years ago

Hello everyone, @yenyasinn will take care of it! :+1:

pdureau commented 4 years ago

great ! thanks @yenyasinn

yenyasinn commented 4 years ago

https://www.drupal.org/project/ui_patterns/releases/8.x-1.2 has been released.

gambry commented 4 years ago

The changes on src/Plugin/Deriver/AbstractYamlPatternsDeriver.php have probably broken any site using any module or theme without a templates/ folder.

In fact the deprecation change record suggestion has not been correctly followed as is_dir() should be run before scanning the directory for fully compatibility.

I will file a PR to fix this.