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

dsnopek created an issue. See original summary.

  • japerry committed 3fa0312 on 7.x-3.x
    Issue #2787123, #2188277, #2786073 by malcomio, japerry, dsnopek,...
dsnopek’s picture

Issue summary: View changes
dsnopek’s picture

Issue summary: View changes
dsnopek’s picture

Status: Active » Closed (duplicate)
Related issues: +#2192993: Change panels_update_7302 to use a batch to update records

While 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.