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.

CommentFileSizeAuthor
#1 media-n2084593-1.patch352 bytesDamienMcKenna
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

DamienMcKenna’s picture

Status: Active » Needs review
FileSize
352 bytes

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

+1 RTBC

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?

Thanks

http://drupalcode.org/project/media.git/commitdiff/a0cd7a11b2f9d5e606a41...

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.

Sorry.

Status: Fixed » Closed (fixed)

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