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.

#1 media-n2084593-1.patch352 bytesDamienMcKenna
PASSED: [[SimpleTest]]: [MySQL] 92 pass(es). View
Members fund testing for the Drupal project. Drupal Association Learn more


DamienMcKenna’s picture

Status: Active » Needs review
352 bytes
PASSED: [[SimpleTest]]: [MySQL] 92 pass(es). View

Try this out for size.

DamienMcKenna’s picture

FYI 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.

mrP’s picture


I had a similar situation as Damien where 5/16 sites in multi-site installation failed during upgrade with error

Executing media_update_7212
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'mimetypes' in 'field list'
mrP’s picture

Issue summary: View changes
Status: Needs review » Reviewed & tested by the community
theMusician’s picture

Patch worked perfectly. I was coming from 2.0-unstable7

ParisLiakos’s picture

Status: Reviewed & tested by the community » Fixed
Elijah Lynn’s picture

Status: Fixed » Needs review

Why was this reverted, anything we should know about?



Elijah Lynn’s picture

Status: Needs review » Fixed

Ahh, 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.


Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.