This is a re-opening of Issue #2796175: Database warning when executing panelizer_update_7105()

Database update #7105 could not complete when upgrading 7.x-2.0 to 7.x-3.4 due to some possible misconfiguration of the `view_mode` field added to the `panelizer_defaults`.

@azinck wrote a patch which works great on 7.x-3.x-dev (released 2016-Dec-12).

Comments

nerdcore created an issue. See original summary.

azinck’s picture

Title: Database warning when executing panelizer_update_7105() WITH PATCH » Unable to complete running update hooks after running bad version of panelizer_update_7105()

A previous version of the 7105 update hook caused problems for folks who already had data in their panelizer_entity or panelizer_defaults tables. The fix in #2796175: Database warning when executing panelizer_update_7105() appropriately fixed this so that the upgrade would run cleanly, but if you were an unlucky soul who had already attempted (and failed) to run 7105 it did not accommodate getting you out of that broken state. This patch resolves the problem for those folks.

Status: Needs review » Needs work

The last submitted patch, panelizer-2796175-10.patch, failed testing.

damienmckenna’s picture

Status: Needs work » Needs review
Issue tags: -Security improvements
StatusFileSize
new743 bytes

So this should fix it too.

matheushamonangan’s picture

Cannot apply the patch to the latest panelizer 7.x-3.4

damienmckenna’s picture

The patch was built against the latest -dev codebase, not 3.4.

damienmckenna’s picture

  • DamienMcKenna committed de0b91f on 7.x-3.x authored by nerdcore
    Issue #2846011 by DamienMcKenna, nerdcore, jenlampton, azinck: Unable to...
damienmckenna’s picture

Status: Needs review » Fixed
Parent issue: » #2787147: Plan for Panelizer 7.x-3.5 release

Committed. And thanks also to jenlampton who reviewed it in #2799025: Database update fails when updating 2.0 to 3.4.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.