Closed (fixed)
Project:
Panels
Version:
8.x-4.x-dev
Component:
In-Place Editor (IPE)
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
16 Dec 2015 at 18:34 UTC
Updated:
17 May 2024 at 15:19 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dsnopekAdded steps to reproduce from #2665332: IPE not saving context mapping (and trying to map contexts too early) because the fix there doesn't fully fix the Page Manager case due to this issue.
Comment #3
legolasboI've been looking at this from different angles. Unfortunately I can only come up with two ways to determine the page to which the block should be added:
Both of these feel like a hack. I'll think about this some more later.
Comment #4
japerryComment #5
mlhess commentedComment #6
samuel.mortensonComment #7
japerryComment #8
damienmckennaAnyone have further insights?
Comment #9
damienmckennaPunting to the next beta.
Comment #10
damienmckennaComment #11
damienmckennaComment #12
berliner commentedThis feels like a higher priority to me.
As for @legolasbo suggestions I'd probably go with the second option to keep this stateless.
I would love to help out with this, but I'm still getting accustomed to how Drupal 8 works, so I won't be of much help for the next weeks.
Comment #13
berliner commentedOk, so I played a bit with this and came up with a patch that at least seems to work for me.
This is intended as a start and I assume that it's not the best implementation, happy to get feedback to improve this patch.
Comment #14
berliner commentedComment #15
berliner commentedFound another issue in my current test case that made this fail when context values are extracted from the path.
Attached patch fixes it for me.
Comment #16
berliner commentedAnother thing I have run into, is that for IPE forms that are altered and enhanced with additional AJAX functionality (custom block implementation using more complex multi-step-style workflows for configuration), the global contexts are not correctly populated when the form is finally submitted. Might be that I miss something when it comes to Drupal 8 form processing, but reloading the full panels displays fixes the issue for me.
Comment #17
joseph.olstadTriggered tests .
Hoping to find a fix for head failures relating to IPE
#3383474: Fix HEAD test failures for 4.x
Comment #18
joseph.olstadUploading a new file, the d.o test runner is being very picky right now.
straight up reroll, no change
Comment #20
joseph.olstadThe single failure has nothing to do with the patch, there's a single fail on HEAD.
Comment #21
joseph.olstadPatch #16 is good, lets go
Comment #22
joseph.olstadRTBC number 16
Comment #23
joseph.olstad#3383474: Fix HEAD test failures for 4.x
Comment #26
liam morlandRe-rolled patch 16 and put into merge request.
Comment #27
liam morlandComment #29
joelpittetI will close this as fixed. Thank you for the last patch @berliner and all others who were involved and care about IPE