- Issue created by @dydave
- Assigned to rajdip_755
- 🇮🇳India rajdip_755 kolkata
Hi @DYdave, I can replicate this issue. I'm working on this.
I think it will be better to replace thesystem_get_module_admin_tasks()
as it's already marked as deprecated in drupal 10.2.0 . - Issue was unassigned.
- 🇫🇷France dydave
Hi Rajdip (@rajdip_755)!
Thanks for your prompt follow-up on this!
Watchout: This is much trickier than it seems ⚠️
We're trying to support multiple versions of Drupal Core for the module in the 2.0.x branch, in particular D9 and D10.
The current code works for D9, D10.0, D10.1 and breaks as of D10.2.
We're currently trying to figure out what's the best option moving forward... probably creating a new branch which would most likely drop support for D10.1 (so only supports D10.2 and above).
We've mostly got the fix for D10.2 already in merge request MR!37, see related issue 🐛 Deprecated system_get_module_admin_tasks in drupal:10.2.0 and is removed from drupal:11.0.0 Needs review .
Mostly this ticket is to fix the module for D9, D10.0 and D10.1.
Once we've got that fixed, we should be able to get back to 🐛 Deprecated system_get_module_admin_tasks in drupal:10.2.0 and is removed from drupal:11.0.0 Needs review , create a new minor development branch and get MR37 merged in.I'm currently working on this issue, fixing phpunit tests and broadening test coverage.
Feel free to let us know if you have any questions or concerns on any aspects of this issue or the project in general, we would surely be glad to help.
Thanks in advance! - Merge request !41Issue #3452633 by DYdave: Broadened Gitlab CI tests coverage. Fixed tests for... → (Merged) created by dydave
- Status changed to Fixed
7 months ago 12:59pm 5 June 2024 - 🇫🇷France dydave
Quick follow-up on this issue:
A few additional commits were added to the current merge request MR!41 with a few comments, see above at #4.
Mostly:
- Fixed fatal TypeError with compatibility support for 10.2 and above without breaking backward compatibility
- Broadened Gitlab CI tests coverage.
- Fixed compatibility tests for D9.
- Added initial Functional tests class for the admin Help page.
The tests all seemed to pass for the MR so the changes have been merged in branch 2.0.x, which seems to still be passing 🟢
https://git.drupalcode.org/project/block_class/-/pipelines/191822
(for the different Drupal versions tested)Marking issue as Fixed for now.
Thanks! Automatically closed - issue fixed for 2 weeks with no activity.