Closed (fixed)
Project:
Panels
Version:
8.x-3.x-dev
Component:
In-Place Editor (IPE)
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Dec 2015 at 19:55 UTC
Updated:
22 Jan 2016 at 17:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
samuel.mortensonWe were passing the entire FormState to the Block Plugin's validate/submit handlers, when we should have been using #tree and passing only the relevant settings. This patch copies the same patterns Page Manager uses in its Block Plugin forms, and seems to fix this (and other) form bugs in the IPE.
Comment #3
dsnopekPatch works in manual testing! However, I have some minor code review:
Could we call $settings something with '_form_state' in it, like $block_form_state, $plugin_form_state or $settings_form_state? That'll make it clearer that it's a FormState object, and not a settings array.
Same here.
And one last time. :-)
Comment #4
dsnopekHere's a new patch that switches to using $block_form_state per my own review. :-)
Comment #5
phenaproximaLooks okay to me. RTBC pending Drupal CI.
Comment #7
samuel.mortensonCommitted, thanks all!