You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ErrorException: An exception has been thrown during the rendering of a template ("EasyCorp\Bundle\EasyAdminBundle\Router\AdminUrlGenerator::setController(): Argument #1 ($crudControllerFqcn) must be of type string, null given, called in /home/runner/work/user/user/vendor/twig/twig/src/Extension/CoreExtension.php on line 1871").
To Reproduce
publicfunctiontestIndexPage2(): void
{
SampleFactory::createMany(5);
// retrieve the test user$testUser = UserFactory::createOne();
// simulate $testUser being logged in$this->client->loginUser($testUser->_real());
// this examples doesn't use security; in your application you may// need to ensure that the user is logged before the test$this->client->request(Request::METHOD_GET, $this->generateIndexUrl());
static::assertResponseIsSuccessful();
}
(OPTIONAL) Additional context
Pretty URLs are on, I have a second identical test just pointing to a different entity/crud where this does not fail, and unlike #6715 this stops working with 4.21.0, though it seems very similar.
Version
Success
4.20.8
✅
4.21.0
❌
4.21.1
❌
4.22.0
❌
The text was updated successfully, but these errors were encountered:
EasyAdmin Version:
>=4.21.0
Describe the bug
To Reproduce
(OPTIONAL) Additional context
Pretty URLs are on, I have a second identical test just pointing to a different entity/crud where this does not fail, and unlike #6715 this stops working with 4.21.0, though it seems very similar.
The text was updated successfully, but these errors were encountered: