Problem/Motivation
Drupal 11 compatibility fixes for flood_control
Steps to reproduce
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Issue fork flood_control-3454910
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
naveenvalechaComment #5
samitk commentedHi,
We should use a new Git Branch/Tag for Drupal 10.2 and 11, As
TypedConfigManagerInterface $typed_config_managerchanges related to ConfigFormBase are introduced in 10.2.Thanks
Samit K.
Comment #6
benstallings commentedI can confirm that this installs in Drupal 11 and can be enabled.
Comment #7
grevil commented@samit.310@gmail.com
I guess, we could simply make it nullable and therefore provide backwards compatibility with D9?
Comment #8
grevil commentedRTBC +1!
As I said, we could make TypedConfigManagerInterface nullable and inject NULL if "config.typed" doesn't exist, but Simply dropping the D9 support is fine with me, as it has reached its EOL anyway!
Comment #9
web-beestWorks for me :-)
RTBC +1
Comment #11
ptmkenny commentedI added
OPT_IN_TEST_NEXT_MAJOR: '1'so that the tests are actually run against Drupal 11. Tests were all green on Drupal 10, but let's make sure they are also green on 11.Comment #12
ptmkenny commentedLooks like the tests are failing on Drupal 11:
Setting to "Needs work."
Comment #13
ptmkenny commentedThe failing tests may be caused by this CR: https://www.drupal.org/node/3337193.
FloodControlUiPageTest.php
There's no session being added here.
Comment #14
ptmkenny commentedOk, tests are now passing on Drupal 11, so I'm setting this back to "Needs review".
Comment #15
batigolixComment #16
batigolixComment #18
batigolixComment #19
batigolixComment #20
batigolixI merged this into a new 3.0.x branch for further D10 and D11 development.
The 2.3.x will not be updated and stay available for D9 for a while.
Comment #21
ptmkenny commentedThanks! Updating the version so that anyone looking at the issue will be directed to the correct branch.