Closed (duplicate)
Project:
Path redirect
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2010 at 12:18 UTC
Updated:
21 Aug 2010 at 17:13 UTC
Jump to comment: Most recent file
Comments
Comment #1
ezra-g commentedI can reproduce this bug with a fresh install of the COD install profile/distribution.
The queries here are missing table names and conditions. This seems to be caused by an out of date $schema in _path_redirect_build_conditions().
I forced a schema refresh at the top of _path_redirect_build_conditions() by making the conditional:
and a fresh install worked without errors.
Fwiw, attached is the debug backtrace so you can follow along at home.
Obviously, this isn't a permanent solution but helps demonstrate the problem. Any suggestions on where path_redirect would force the schema to refresh, or alternatively how I could force a refresh in in the COD install profile/distribution?
Thanks!
Comment #2
dave reidThis should be mostly fixed with #849222: Pathauto/Path_redirect problem during profile-based installation where we stop any redirect processing if the MAINTENANCE_MODE constant is defined at all.
Are users being deleted in the install profile? That sounds really, really odd. Or it sounds like Pathauto is creating redirects. What exactly is going on with users in this case?
Comment #3
ezra-g commentedMarking this as a duplicate of #849222: Pathauto/Path_redirect problem during profile-based installation. The original patch there resolves the issue for me. Chatting with davereid in IRC about committing that :).