Problem/Motivation

Upgrading from 2.0.0 to 2.0.2 causes site to white screen on saving content and causes drush updb to error.

I suspect this is due to removing the requirement on Dynamic Entity Reference without providing an update hook to uninstall it first.

Steps to reproduce

  1. Upgrade module from 2.0.0 to 2.0.2
  2. Run drush updb - will fail
  3. Attempt to save content - site white screens

Proposed resolution

Re-add Dynamic Entity Reference as a dependency and provide a proper update hook to uninstall the module before removing it entirely.

This will absolutely cause issues going from 2.0.x to 2.1.x as well assuming there's no update hook to uninstall the dependency.

Comments

nickdjm created an issue. See original summary.

nickdjm’s picture

For reference: It is specifically this commit that is the issue: https://git.drupalcode.org/project/linkchecker/-/commit/5961f6777206e874...

butterwise’s picture

Just confirming this behavior. Adding DER to my composer allowed me to proceed with the update and db update.

butterwise’s picture

Also, this appears to be a duplicate of 3533235.

joseph.olstad’s picture

Status: Active » Closed (duplicate)