In an upgrade from 4.7.6 to 5.1 the help messages that are displayed at the top of submittion forms for each node type was lost and replaced with a default message. The upgrade script reported success and no errors were logged.

select * from variable where name like '%_help';

The messages still exist in the database but are no longer used, having been supplanted by the table node_type.

function system_update_1005 from "modules/system/system.install" looks like the place where the update should have occured but didn't.

-------------------------------------

Configuration file Protected
Cron maintenance tasks Last run 9 hours 48 min ago
Database schema Up to date
File system Writable (public download method)
MySQL database 4.1.11
PHP 4.3.10-19
Unicode library PHP Mbstring Extension
Web server Apache/2.0.54 (Debian GNU/Linux) PHP/4.3.10-19

Debian 3.1
Linux 2.4.26 (a freaky UML kernel)

Comments

Anonymous’s picture

Before executing the update.php script did you make sure that all of your modules were 5.1 compatible?

http://drupal.org/node/64279#node-types

mejd’s picture

Module selection didn't change though upgrade. Non-core image and event modules were disabled before upgrade, enabled afterwards and then run through their own upgrade

Modules after upgrade

Core - optional
Comment 5.1
Help 5.1
Menu 5.1
Taxonomy 5.1
Upload 5.1

Event (2007-03-19)
Basic event 5.x-1.x-dev
Event 5.x-1.x-dev

Image (2007-03-21)
Image 5.x-1.x-dev
Image Gallery 5.x-1.x-dev

I don't know the dates on the 4.7 non-core modules.

The custom help messages were overwriten on the core story type as well as the event and image types.

Anonymous’s picture

Are you PHP savy enough to provide a patch to fix this?

Anonymous’s picture

s/savy/savvy

mejd’s picture

Umm, Not comfortably. It looks readable enough but I have never written a line of php.

Anonymous’s picture

Most of the Drupal design is using procedural methodology. The PHP language syntax itself isn't that difficult to master. It would be worth your time to learn PHP with such well written code.

dpearcefl’s picture

Component: update system » other
Status: Active » Closed (won't fix)

Considering the age of this issue with no responses and that D5 is unsupported, I am closing this issue.