Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tests failing because of assigning role permissions in localgov_core/modules/localgov_media/localgov_media.install:17 #135

Closed
ekes opened this issue May 17, 2022 · 0 comments

Comments

@ekes
Copy link
Member

ekes commented May 17, 2022

Testing module that depends on and installs localgov_media.
Even after adding explicit dependencies to filter module (that has the route).
And after moving the config for filter format wysiwyg to install rather than optional (it's really not optional if we need it during the installation) as that's the argument of the route.
But nope not helping.

1) Drupal\Tests\localgov_microsites_group\Functional\LoginTest::testLoginRedirect                         
Symfony\Component\Routing\Exception\RouteNotFoundException: Route "entity.filter_format.edit_form" does not exist.
                                                                                                                                                                                                                    
/app/web/core/lib/Drupal/Core/Routing/RouteProvider.php:206                                               
/app/web/core/lib/Drupal/Core/Routing/UrlGenerator.php:426                                                
/app/web/core/lib/Drupal/Core/Routing/UrlGenerator.php:270                                                
/app/web/core/lib/Drupal/Core/Render/MetadataBubblingUrlGenerator.php:105                                                                                                                                           
/app/web/core/lib/Drupal/Core/Url.php:763                                                                 
/app/web/core/modules/filter/src/FilterPermissions.php:56                                                                                                                                                           
/app/web/core/modules/user/src/PermissionHandler.php:153                                                                                                                                                            
/app/web/core/modules/user/src/PermissionHandler.php:112                                                                                                                                                            
/app/web/core/modules/user/src/Entity/Role.php:202                                                        
/app/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:319                                                                                                                                                
/app/web/core/modules/user/src/Entity/Role.php:179                                                                                                                                                                  
/app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php:566                                                                                                                                                      
/app/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php:521                                            
/app/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php:253                                   
/app/web/core/lib/Drupal/Core/Entity/EntityBase.php:339                                                                                                                                                             
/app/web/core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php:607                                                                                                                                                /app/web/modules/contrib/localgov_core/modules/localgov_media/localgov_media.install:17                                                                                                                             
/app/web/core/lib/Drupal/Core/Extension/ModuleHandler.php:392                                             
/app/web/core/lib/Drupal/Core/Extension/ModuleInstaller.php:362                                           
/app/web/core/lib/Drupal/Core/ProxyClass/Extension/ModuleInstaller.php:83                                                                                                                                           /app/web/core/lib/Drupal/Core/Test/FunctionalTestSetupTrait.php:474                                                                                                                                                 
/app/web/core/tests/Drupal/Tests/BrowserTestBase.php:559                                                  
/app/web/core/tests/Drupal/Tests/BrowserTestBase.php:378                                                  
/app/web/modules/contrib/localgov_microsites_group/tests/src/Functional/LoginTest.php:64                                                                                                                            
/app/vendor/phpunit/phpunit/src/Framework/TestResult.php:726   
ekes added a commit that referenced this issue May 17, 2022
Not sure why moving it later works. I still think it must be a
dependency order thing for the wysiwyg filter configuration.
ekes added a commit that referenced this issue May 23, 2022
@ekes ekes closed this as completed May 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant