With the automated rector patch provided in https://www.drupal.org/project/restrict_by_ip/issues/3141537, the module appears to be working correctly for me in Drupal 9. However, the patch does not add the necessary core_version_requirement line to the info.yml file. Applying this patch in combination with the automated rector patch should produce a working D9 module.
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | interdiff-3156173-5-6.txt | 933 bytes | manuel.adan |
| #6 | restrict_by_ip-d9_compatibility-3156173-6.patch | 39.31 KB | manuel.adan |
| #4 | restrict_by_ip-d9_compatibility-3156173-4.patch | 39.27 KB | manuel.adan |
| #3 | restrict_by_ip-d9_compatibility-3156173-3.patch | 5.18 KB | manuel.adan |
| core_version_requirement.patch | 380 bytes | wrd |
Issue fork restrict_by_ip-3156173
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
nicrodgersComment #3
manuel.adanThere were also some deprecations to review. Simple tests still to be moved to phpunit, drupalci.yml added according to CR indications, anyway it fail due to #3114594.
Comment #4
manuel.adanTest converted from simpletest to PHPUnit.
Comment #5
manuel.adanComment #6
manuel.adanDespite tests run fine on a local D8.9 fresh installation:
it seems that the current IP CIDR initialization make automated tests to fail. Change reverted.
Comment #8
manuel.adan