Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 296544

Updating to 8.6.8 or 8.6.9 with Drush 8 causes data loss via update_fix_compatibility()

$
0
0

Problem/Motivation

The fix in #3031128: Update from 8.6.7 to 8.6.8 warnings - Drupal\Core\Extension\Extension has no unserializer is partial for Drush 8. This is because Drush 8 calls update_check_incompatibility() after certain static caches are set in for extension lists.

To test:

  1. Install Drupal 8.6.7
  2. Update codebase to Drupal 8.6.9
  3. Run drush updb (using version 8.1.18)
  4. Visit admin/reports/status

Proposed resolution

Also clear the profile extension list static cache in UpdateKernel::fixSerializedExtensionObjects()

Remaining tasks

User interface changes

None

API changes

None

Data model changes

None

Release notes snippet

N/a


Viewing all articles
Browse latest Browse all 296544

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>