- Issue created by @phenaproxima
- π¨π¦Canada Charlie ChX Negyesi πCanada
phenaproxima β credited ghost of drupal past β .
- πΊπΈUnited States phenaproxima Massachusetts
Confirmed that this bug fix works on 11.2 but not 11.1.
In π Flush all caches once done Active , we added a general cache wipe in the final stages of the install process. This broke something -- normally, the installer sends you into Drupal fully logged in, but this no longer happens. You're sent to a login screen.
Install Drupal using a profile built on Recipe Installer Kit.
The problem seems to be the drupal_flush_all_caches() call in \Drupal\RecipeKit\Installer\Hooks::uninstallProfile(). It seems to wipe out the session. It's not entirely clear why that happens, but our best guess is that the container rebuild causes the session storage to change, thus losing the session.
To work around this, we can explicitly save the session before calling drupal_flush_all_caches(). Manual testing confirms that this gets us past the problem.
Active
1.0
Code
phenaproxima β credited ghost of drupal past β .
Confirmed that this bug fix works on 11.2 but not 11.1.