Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
While running updates on a site that previously was running a rather old version of Media, I discovered that media_update_7212 would fail if file_entity_update_7210 wasn't ran first. hook_update_dependencies needs to be updated accordingly.
Comment | File | Size | Author |
---|---|---|---|
#1 | media-n2084593-1.patch | 352 bytes | DamienMcKenna |
Comments
Comment #1
DamienMcKennaTry this out for size.
Comment #2
DamienMcKennaFYI I know that media_update_7108 should force file_entity_update_7210 to be ran, but that didn't happen on three sites out of eleven on a multisite install, hence the problem.
Comment #3
mrP CreditAttribution: mrP commented+1 RTBC
I had a similar situation as Damien where 5/16 sites in multi-site installation failed during upgrade with error
Comment #4
mrP CreditAttribution: mrP commentedComment #5
theMusician CreditAttribution: theMusician commentedPatch worked perfectly. I was coming from 2.0-unstable7
Comment #6
ParisLiakos CreditAttribution: ParisLiakos commentedthanks, committed to http://drupalcode.org/project/media.git/commit/4a88319
Comment #7
Elijah LynnWhy was this reverted, anything we should know about?
Thanks
http://drupalcode.org/project/media.git/commitdiff/a0cd7a11b2f9d5e606a41...
Comment #8
Elijah LynnAhh, nevermind, I see what happened now. There was some other commit before the one above that got reverted. I didn't read far enough up in the commit list.
Sorry.