Does update.php need to be manually run after running plugin manager's update feature, or are all necessary DB adjustments made automatically?

Comments

jabapyth’s picture

currently it is not automatically done. I will work on this.

jabapyth’s picture

Status: Active » Closed (won't fix)

hmmm actually, this is a wont fix -- database adjustments should be manually overseen.

Anonymous’s picture

Status: Closed (won't fix) » Active

Since update.php does not automatically update modules when the page is visited, rather requires some form of user interaction (to approve of the suggested update,) it should be perfectly safe to redirect the user to update.php anytime an module is updated.

fletchgqc’s picture

Yes - or at least update the success text to remind the user that they need to do this, with a link to the update page. I think this would be better than a confused user suddenly ending up on this page and wondering why.

Anonymous’s picture

Title: Update.php ? » Redirect users to update.php on module update
Category: support » feature
Priority: Minor » Normal
bsimon’s picture

A link to the update page at the appropriate time sounds like a very good idea. Because of the vague warnings it contains, the Update.php process is actually quite confusing and alarming for people who don't understand how it works and what it does (in other words for many new Drupal admins).

dave reid’s picture

Marked #362207: Remind users to run update.php after updates as a duplicate of this issue.

ibandyop’s picture

+1 for a link to update.php excellent module saves me a lot of time.
+5 for documenting plan for next version i.e., plugin manager 2

dave reid’s picture

Status: Active » Needs review
StatusFileSize
new1.78 KB

Here's a patch that fixes the links to README.txt if you don't keep your modules in the sites/all/modules directory (e.g. sites/mysite.com/modules). After all modules are installed, it checks if there are any new updates and if so, shows a link to run update.php (the code is lifted from system_requirements). Please give this a test and review!

dave reid’s picture

StatusFileSize
new1.96 KB

Quick change to check if the module's README.txt actually exists. If not, don't show the link to it. We don't want to link to things that will 404...it's confusing to the user.