dereine reports that many people using Views and trying to upgrade from one version to another of Views are following the procedure in UPGRADE.txt (which is meant to be a procedure for updating from one major version of Drupal to another, not a procedure for upgrading versions of modules). The problem is that users are doing this process (as it says to do in this file): maintainance-mode, disable-module, update-module-code, run update.php, enable module -- which according to dereine "can break a LOT of stuff, for example remove existing block-configurations".
The d7 version of UPGRADE.txt was heavily edited to make this distinction clear. The D6 version needs a similar clarification, or at least some text at the top to make the distinction clear and point the user to http://drupal.org/upgrade ... although I don't think we actually have documentation there for how to update a contrib module or theme from one version to another. That needs to be added.
Sigh.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 1334774-upgrade-description.patch | 4.98 KB | dawehner |
Comments
Comment #1
jhodgdonThere's a page in the support forums about updating modules that we can probably grab/adapt (haven't read it through but it seems to be the only docs we have currently):
http://drupal.org/node/672472
Comment #2
dawehnerA more detailed explanation why this method is bad comes here:
Let's assume the module which implements hook_block is disabled but _block_rehash() is runned you will
have these blocks as part of the $old_blocks and drupal does the following:
Here is a first patch for the upgrade.txt, this probably needs some work.
Comment #3
jhodgdonThis looks pretty reasonable to me (I think it mostly came from the D7 file, right?).
I think we should change the heading for the UPGRADES section to say MAJOR VERSION UPGRADES though, and we probably also need to edit that section to refer to the "first steps" section above, to avoid duplication of the instructions there (e.g., back up your database).
There are also a couple of minor line-wrapping issues, like:
"configuration" can be moved up onto the previous line.
There's still nothing in there about upgrading contrib modules, but I guess the d7 file doesn't either. We probably decided not to include that information because It's Not Core or something. In which case we should definitely add a page to the http://drupal.org/upgrade section about this!
Comment #4
jhodgdonhad forgotten to change the status
Comment #5
jhodgdonI am cleaning up old 6.x documentation issues. At this point, we are not spending effort fixing them. Sorry.