- Issue created by @elc
- 🇦🇺Australia elc
Without Generate Password event installed, testing is unable to access admin/config/people/accounts in current or next minor.
From the new NotInstalledTest.php =>
/** * Check to see that Drupal core is working, then install genpass. */ public function testDrupalWorkingWithoutAndWith(): void { // Check that Drupal is working before installing Generate Password. // THIS IS WHAT FAILS! UNABLE TO ACCESS THIS PAGE? $this->drupalGet('admin/config/people/accounts'); $this->assertSession()->statusCodeEquals(200); // Install Generate Password. $this->assertTrue( \Drupal::service('module_installer') ->install(['genpass']), 'Failed to install Generate Password module.' ); // Check that the same page is still accessible. $this->drupalGet('admin/config/people/accounts'); $this->assertSession()->statusCodeEquals(200); // Check all of the form changes. $this->assertSession()->pageTextContains('Account settings'); $this->assertSession()->pageTextContains('Generate Password - User Account Registration'); $this->assertSession()->pageTextContains('User password entry'); $this->assertSession()->pageTextContains('Admin password entry'); $this->assertSession()->pageTextContains('Generated password length'); $this->assertSession()->pageTextContains('Generated password display'); }
- 🇦🇺Australia elc
All tests work perfectly locally so this is only on the testing infrastructure that things are broken.
- 🇦🇺Australia elc
The act of logging into drupal as an administrator with
['administer account settings', 'administer users']
and accessing$this->drupalGet('admin/config/people/accounts');
is causing a 500 error. This should be without genpass installed unless I am mistaken about the$this->modules
array, from which I have removed genpass. Should check on that. - 🇦🇺Australia elc
Added to the test; genpass is not installed at the start, and drupal core is still giving 500 error on
admin/config/people/accounts
, NOT onadmin
. - 🇪🇸Spain fjgarlin
Probably related: https://drupal.slack.com/archives/C2AAKNL13/p1730932164254339
It happens on Core 11.1.x
💬 Updating phpstan and twig via Composer generates a blank page when editing a node Active - 🇦🇺Australia elc
Forcing twig to 3.14.0 fixes it here, and all the live sites I just dutifully updated just today.
Fix will be done in 💬 Updating phpstan and twig via Composer generates a blank page when editing a node Active .
- 🇦🇺Australia elc
Change of title to reflect the actual change as a result of this isssue; to avoid going down the rabbit hole of suspecting something wrong with the module, make sure that Drupal works before genpass is installed.
Automatically closed - issue fixed for 2 weeks with no activity.