- Issue created by @naveenvalecha
- ๐ฎ๐ณIndia samit.310@gmail.com
samit.310@gmail.com โ made their first commit to this issueโs fork.
- Status changed to Needs review
4 months ago 10:56am 21 August 2024 - ๐ฎ๐ณIndia samit.310@gmail.com
Hi,
We should use a new Git Branch/Tag for Drupal 10.2 and 11, As
TypedConfigManagerInterface $typed_config_manager
changes related to ConfigFormBase are introduced in 10.2.Thanks
Samit K. - Status changed to RTBC
4 months ago 4:52pm 23 August 2024 - ๐บ๐ธUnited States BenStallings
I can confirm that this installs in Drupal 11 and can be enabled.
- Status changed to Needs work
4 months ago 2:17pm 26 August 2024 - ๐ฉ๐ชGermany Grevil
We should use a new Git Branch/Tag for Drupal 10.2 and 11, As TypedConfigManagerInterface $typed_config_manager changes related to ConfigFormBase are introduced in 10.2.
I guess, we could simply make it nullable and therefore provide backwards compatibility with D9?
- Status changed to RTBC
4 months ago 2:26pm 26 August 2024 - ๐ฉ๐ชGermany Grevil
RTBC +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!
- First commit to issue fork.
- ๐ฏ๐ตJapan ptmkenny
I 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. - ๐ฏ๐ตJapan ptmkenny
Looks like the tests are failing on Drupal 11:
There were 5 errors: 1) Drupal\Tests\flood_control\Functional\FloodControlUiPageTest::testAccessAdmin Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. /builds/issue/flood_control-3454910/vendor/symfony/http-foundation/RequestStack.php:105 /builds/issue/flood_control-3454910/web/core/tests/Drupal/Tests/BrowserTestBase.php:440 2) Drupal\Tests\flood_control\Functional\FloodControlUiPageTest::testAccessAdministerFloodUnblockPermission Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. /builds/issue/flood_control-3454910/vendor/symfony/http-foundation/RequestStack.php:105 /builds/issue/flood_control-3454910/web/core/tests/Drupal/Tests/BrowserTestBase.php:440 3) Drupal\Tests\flood_control\Functional\FloodControlUiPageTest::testAccessFloodUnblockIpsPermission Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. /builds/issue/flood_control-3454910/vendor/symfony/http-foundation/RequestStack.php:105 /builds/issue/flood_control-3454910/web/core/tests/Drupal/Tests/BrowserTestBase.php:440 4) Drupal\Tests\flood_control\Functional\FloodControlUiPageTest::testAccessNoPermission Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. /builds/issue/flood_control-3454910/vendor/symfony/http-foundation/RequestStack.php:105 /builds/issue/flood_control-3454910/web/core/tests/Drupal/Tests/BrowserTestBase.php:440 5) Drupal\Tests\flood_control\Functional\FloodControlUiPageTest::testAccessAnonymous Symfony\Component\HttpFoundation\Exception\SessionNotFoundException: There is currently no session available. /builds/issue/flood_control-3454910/vendor/symfony/http-foundation/RequestStack.php:105 /builds/issue/flood_control-3454910/web/core/tests/Drupal/Tests/BrowserTestBase.php:440 ERRORS! Tests: 11, Assertions: 159, Errors: 5.
Setting to "Needs work."
- ๐ฏ๐ตJapan ptmkenny
The failing tests may be caused by [#3337193].
FloodControlUiPageTest.php
/** * Create required user and other objects in order to run tests. */ protected function setUp(): void { parent::setUp(); $this->adminUser = $this->drupalCreateUser([]); $this->adminUser->addRole($this->createAdminRole('admin', 'admin')); $this->adminUser->save(); $this->settingsUser = $this->drupalCreateUser(['administer flood unblock']); $this->floodUnblockUser = $this->drupalCreateUser(['flood unblock ips']); $this->simpleUser = $this->drupalCreateUser([]); // Flood backends need a request object. Create a dummy one and insert it // to the container. $request = Request::createFromGlobals(); $this->container->get('request_stack')->push($request);
There's no session being added here.
- ๐ฏ๐ตJapan ptmkenny
Ok, tests are now passing on Drupal 11, so I'm setting this back to "Needs review".
-
batigolix โ
committed 50b3ded7 on 3.0.x authored by
samit.310@gmail.com โ
Issue #3454910 by samit.310@gmail.com, ptmkenny, naveenvalecha, grevil,...
-
batigolix โ
committed 50b3ded7 on 3.0.x authored by
samit.310@gmail.com โ
- ๐ณ๐ฑNetherlands batigolix Utrecht
I 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.
- ๐ฏ๐ตJapan ptmkenny
Thanks! Updating the version so that anyone looking at the issue will be directed to the correct branch.
Automatically closed - issue fixed for 2 weeks with no activity.