On an RC1 site we're developing I'm noticing that trying to import config between sites is resulting in the following error:

LogicException: The database connection is not serialisable. This probably means you are serializing an object that has an indirect reference to the database connection. Adjust your code so that is not necessary. Alternatively, look at DependencySerializationTrait as a temporary solution. in Drupal\Core\Database\Connection->__sleep() (line 1433 of /var/www/docroot/core/lib/Drupal/Core/Database/Connection.php).

This happens when trying to import a single config file with permission (1 or 2 differences) changes. Just posting this quick report in case anyone else has seen this issue. I haven't tested this on a fresh install but can do if it seems like this needs more attention.

Comments

tanc created an issue. See original summary.

mtift’s picture

mtift’s picture

Version: 8.0.0-rc1 » 8.0.x-dev

Core issues are now filed against the dev versions where changes will be made. Document the specific release you are using in your issue comment. More information about choosing a version.

Version: 8.0.x-dev » 8.9.x-dev

Drupal 8.8.7 was released on June 3, 2020 and is the final full bugfix release for the Drupal 8.8.x series. Branches prior to 8.8.x are not supported, and Drupal 8.8.x will not receive any further development aside from security fixes. Sites should prepare to update to Drupal 8.9.0 or Drupal 9.0.0 for ongoing support.

Bug reports should be targeted against the 8.9.x-dev branch from now on, and new development or disruptive changes should be targeted against the 9.1.x-dev branch. For more information see the Drupal 8 and 9 minor version schedule and the Allowed changes during the Drupal 8 and 9 release cycles.

Version: 8.9.x-dev » 9.2.x-dev

Drupal 8 is end-of-life as of November 17, 2021. There will not be further changes made to Drupal 8. Bugfixes are now made to the 9.3.x and higher branches only. For more information see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

Version: 9.2.x-dev » 9.3.x-dev
lendude’s picture

Status: Active » Closed (outdated)

Since not all sites are experiencing this when importing permissions config, I'm gonna say this was probably something broken in RC1. There is not enough for me to go on to figure out what the fix may have been, but closing this for now.

Of course, if you feel like this might still be an issue, feel free to re-open this.

lendude’s picture

Issue tags: +Bug Smash Initiative

Oh, forgot to tag...