I just upgraded from 7.x-2.0-alpha3 to 7.x-2.0-alpha4 and it broke the use of the WYSIWYG view mode.

It broke because the new version of media_wysiwyg_view_mode submodule depends on media_wysiwyg but that module will not be enabled on upgrades.

Here is patch that will enable the new media_wysiwyg submodule on upgrades.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

arnested’s picture

Status: Active » Needs review
FileSize
737 bytes

Patch added.

Dave Reid’s picture

Status: Needs review » Needs work
+++ b/modules/media_wysiwyg_view_mode/media_wysiwyg_view_mode.install
@@ -13,3 +13,14 @@ function media_wysiwyg_view_mode_uninstall() {
+function media_wysiwyg_view_mode_update_7101(&$sandbox) {

Update should be 7201 since this is the 7.x-2.x version of the module.

arnested’s picture

Status: Needs work » Needs review
FileSize
737 bytes

Yes, what a stupid mistake. New patch attached.

joseph.olstad’s picture

Status: Needs review » Closed (outdated)