Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
database update system
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Aug 2011 at 08:44 UTC
Updated:
13 Aug 2011 at 16:52 UTC
Jump to comment: Most recent file
Comments
Comment #1
marcingy commentedI saw this this morning and having finally finished rebuilding my pc after a hard disk failure, I'll try and take a look at this issue over the next couple of days on an xampp stack.
Comment #2
plachAdditional detail: the OS running on the first machine is Windows XP SP3, while the second machine has Windows 7 Home Premium 32 bit SP1.
Comment #3
plachThe attached patch fixes the issue: it seems that, only on my Windows boxes (I tested the db attached in the OP on Linux and everything went well), the schema changes in
taxonomy_update_7001()are not picked up and makeuser_update_7006()(which btw triggers anentity_get_info()call by callinguser_permission_get_modules()!) fail.The reason why all of this happens only on Windows is beyond me. Would love if someone more into the update system could explain this.
Comment #4
marcingy commentedCan recreate on windows 7 64 bit xampp.
Comment #5
marcingy commentedHave appled patch in #3 and the update now completes.
I can't offer any insight to why this is but rtbc from me assuming the test is green.
Comment #6
marcingy commentedComment #7
catchThere's a critical, rtbc issue in the queue for user_update_7006(), please see if that fixes it.
Comment #8
plach@catch:
The patch in #1234834: 'module' column of role_permission table is not populated on upgrades fixes this, but I don't think it's the same issue: it just avoids it to happen. The problem I was able to track here is that on Windows the static cache of
drupal_get_schema()holds different values than on Linux.Comment #9
chx commentedAvoiding it to happen is exactly what that issue is about. I bet a ton more issues are duplicate.
Comment #10
plachI'm only afraid this could come up in some other form elsewhere, since it might not be strictly related to the upgrade path.