Closed (duplicate)
Project:
Panels
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Aug 2016 at 19:01 UTC
Updated:
20 Aug 2016 at 12:07 UTC
Jump to comment: Most recent
Because panels_save_display() is called in panels_update_7302() it creates weird dependencies between update functions that we had to hack around in:
That update hook should operate directly on the database rather than calling that API function.
This will mostly involve copying the code from panels_save_display(), removing any cache clearing, and updating the database directly in such a way that it doesn't assume the columns based on the current 'panels_display' table schema -- it should only use columns that exist in the schema that's current as of when that update hook was written.
Comments
Comment #3
dsnopekComment #4
dsnopekComment #5
dsnopekComment #6
dsnopekWhile triaging issues, I just found an existing issue (with patch!) to do this: #2192993: Change panels_update_7302 to use a batch to update records
Closing this one as a duplicate.