Closed (duplicate)
Project:
Panels
Version:
8.x-4.x-dev
Component:
In-Place Editor (IPE)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jul 2016 at 21:05 UTC
Updated:
24 Jul 2026 at 17:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
japerryComment #3
samuel.mortensonI wonder if this is due to the gathered contexts logic in PanelsBlockConfigureFormBase::buildForm() that does not appear in PanelsIPEBlockPluginForm:
Do you have an example of a Block Plugin in Panels IPE that is throwing an error or losing Context?
Obviously the preferred solution here is to consolidate our form logic so that PanelsIPEBlockPluginForm extends PanelsBlockConfigureFormBase, but I'm not sure if a change that big can get in before the beta5 release. If I can quickly fix this before then, I'd like to!
Comment #4
samuel.mortensonIt may also be worth merging this issue with #2636472: Load context for page that IPE is editing, rather than AJAX or form route.
Comment #5
japerryComment #6
eclipsegc commentedSo, I tried to fix this. This proved to be REALLY hard because we have NO clue what the context is. I think we are at a "punt" point where we need to discuss rebuilding IPE to take this sort of stuff into account.
Eclipse
Comment #7
samuel.mortenson@EclipseGc I think a good first step would be to refactor all IPE forms to extend the forms written for the backend editor. Do you think that would help to resolve this issue?
If so - I can review some code next week and open a new issue for this.
Comment #8
samuel.mortensonEasy replication steps (for my benefit):
Comment #9
samuel.mortensonFollowing the same replication steps as #8, but using the default editor introduced by #2664682: Implement admin UI for editing Panelizer defaults, I see the same issue. I've attached a screenshot of the wizard editor for the "Basic Page" type, which also lists all entity_field blocks regardless of the Content Type.
I'd need to see a working example of what IPE is supposed to do before digging deeper.
Comment #10
damienmckennaPunting to the next beta.
Comment #11
damienmckennaComment #12
damienmckennaComment #13
joelpittetFixed in #3465159: Error: Call to a member function getParameter() on null in Drupal\panels_ipe\Form\PanelsIPEBlockPluginForm->getContextsForPath() (line 505 of /var/www/docroot/modules/contrib/panels/panels_ipe/src/Form/PanelsIPEBlockPluginForm.php)? being hopeful... and triaging queue.