Closed (fixed)
Project:
NodeStream
Version:
7.x-2.x-dev
Component:
Code
Priority:
Major
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
21 Oct 2011 at 20:02 UTC
Updated:
8 Dec 2011 at 15:20 UTC
Jump to comment: Most recent file
It's time to upgrade media. We need to go from unstable1 to unstable2, but that is not all. In addition, we also need to:
* Change all media fields into file fields instead. This will require an update hook to move the data over.
* Remove the styles module and provide view modes for each style instead. These view modes needs to be configured to work togehter with the styles we have provided.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1317302-media-upgrade-2.patch | 94.34 KB | fabsor |
Comments
Comment #1
fabsor commentedIn order to do this we need to resolve #1317208: Don't add fields to features
Comment #2
fabsor commentedHere is a patch that upgrades the whole thing. There is also a branch, 7.x-2.x-upgrade-media.
Comment #3
fabsor commentedWe now have a complete migration complete to get to media unstable2, complete with upgrade path in 7.x-2.x-upgrade-media. Please review it.
Comment #4
lslinnet commentedWhere is that branch located?
Comment #5
fabsor commentedThe upgrade path will be the following:
* Run a drush registry-rebuild
* Run updatedb.
We can't really avoid that unfortunately.
Comment #6
logaritmisk commentedWe have been using this for some time and it works like a charm
Comment #7
fabsor commentedI have done extensive testing on this and it seems like everything is working as expected now, including upgrade path. We can finally put this behind us!
Comment #8
pontus_nilssonSorry :) to open this up again but I just got
SQLSTATE[42S02]: Base table or view not found: 1146 Table '231.media_type' doesn't existduring installation.This patch solved it http://drupal.org/node/1311828#comment-5192768