Wen 4.1 sites upgrade to CVS or eventually 4.2, they will often have 'module.php?' ... hard coded in their welcome email, replacement password email, etc. this is now a bad url.

not sure how to fix this though. maybe we just need a notice along with the release.

Comments

dries’s picture

We could make update.php remove these variables (user_mail_pass_body, user_mail_welcome_body, etc) from the variables table, or better yet, update them using the rewrite_old_urls() function. Mind to test/patch?

Stefan Nagtegaal’s picture

I thought Dries fixed this already... (?)

Kobus’s picture

However not directly associated with user.module, this error occurs elsewhere. All nodes in my upgraded site adds entries in watchdog "upgrade possibly affects node ...".

I believe that since the check is there already (and works)(The warning is written to watchdog) the error can be fixed in a similar manner than Dries proposed for update.php.

Kobus

dries’s picture