update.php should clear the caches (or, at the very least, the menu cache) after running updates.

This is imporant if, for example, the menu structure has changed. If the old one remains cached, the newly added pages are inaccessible unless the user is smart enough to clear the cache themselves.

This manifests itself as a major bug in the block modules updates. After updating the appropriate files and running update.php, the new block "configure" screens are still inaccessible. Clearing the menu cache fixes the problem.

CommentFileSizeAuthor
#4 update-cache.patch415 bytesdecafdennis

Comments

Anonymous’s picture

This was apparently fixed in this commit by unconed.

Anonymous’s picture

decafdennis’s picture

Version: » x.y.z
Priority: Critical » Normal
Status: Closed (fixed) » Active

I reopened this bug because the cache is not cleared anymore when running update.php. I noticed this when upgrading to the latest 4.7.0-beta5, when menu items related to the contact.module where broken afterwards. Manually clearing the cache fixed it.

decafdennis’s picture

Component: base system » update system
Priority: Normal » Critical
Status: Active » Needs review
StatusFileSize
new415 bytes

This patch causes the cache to be cleared after all module updates have been executed.

drumm’s picture

Status: Needs review » Fixed

Committed to HEAD.

Anonymous’s picture

Status: Fixed » Closed (fixed)