Closed (fixed)
Project:
Drupal Commons
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 May 2014 at 03:38 UTC
Updated:
5 Jun 2014 at 13:20 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
devin carlson commentedGood catch!
A patch to remove the Media: oEmbed submodule.
Comment #2
devin carlson commentedComment #3
devin carlson commentedAnd a patch to add the above patch to the Commons makefile.
Comment #4
japerryThere are three files in the registry that could potentially cause issues when upgrading from a previous version of oembed.MediaOEmbedStreamWrapper class profiles/commons/modules/contrib/oembed/deprecated/media_oembed/includes/MediaOEmbedStreamWrapper.inc media_oembed 0media_oembed_provider_ui class profiles/commons/modules/contrib/oembed/deprecated/media_oembed/plugins/export_ui/media_oembed_provider_ui.class.php media_oembed 0
MediaInternetOEmbedHandler class profiles/commons/modules/contrib/oembed/deprecated/media_oembed/includes/MediaInternetOEmbedHandler.inc media_oembed 0
On some setups, we would need to either run registry rebuild, or explicitly rename these (as well as the media_oembed path in the system table) to ensure that a missing class exception doesn't occur.Comment #5
japerryThe existing deprecated module doesn't include those classes, and when the upgrade was complete, it worked as expected. I think the problem was around it trying to switch between the two modules before I applied the patch. Once the patch was applied and I disabled/re-enabled the module everything worked.
I' think we're good here.
Comment #6
devin carlson commentedI've retested #3 with a fresh Commons install and got the same results as outlined in #5.
Committed #3 to Commons 7.x-3.x.
Comment #8
sheldon rampton commented@Devin Carlson, what's your plan for the media_oembed module within oembed? Are you planning to remove it there and just have the standalone module? In the ticket I filed separately in the oembed module's issue queue, user sunnz expressed a preference to have media_oembed remain a part of oembed:
https://drupal.org/node/2226639
I don't have a preference personally, but it shouldn't exist in two places.