Closed (fixed)
Project:
Panels
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
9 Nov 2015 at 19:51 UTC
Updated:
4 Dec 2015 at 19:14 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
dsnopekHere's a first pass at this! It works in my testing, but it could use automated tests!
Comment #3
dsnopekAnd here's some tests! If these pass (which they might if testbot doesn't pull the latest -dev of layout_plugin) then this probably ready.
Comment #5
dsnopekSo, that failed because it couldn't enable page_manager, which I think might be because the testbot won't recognize page_manager being a dependency of panels_test until after it's been in the repo for 24-48 hours (something like that). So, we might have to just commit this?
Anyway, I also forgot to enable panels_test in my last patch, so here's a new version.
Comment #8
japerryCommitted, but pushed to needs review. Hopefully tests will pass on new stuff now.
Comment #10
dsnopekSweet, thanks! This patch won't pass (because the patch is already applied) but I'll re-run the branch tests in 24 hours and see if they pass (or at least give a different error that shows that testbot caught up).
Comment #11
dsnopekThe branch tests came back, and testbot was able to find page_manager for the tests! However, the still failed because this depends on code in layout_plugin that isn't part of a release yet.
So, we should revert this for now! I have an idea for a multi-step approach that would get the change for testbot in first, and then we can merge the rest after the next layout_plugin release.
Comment #12
dsnopekI created a new issue that just includes the hidden 'panels_test' module: #2614206: Add 'panels_test' module that we can use for functional tests
And here's a new version of this patch without those changes. Postponing until we have a new layout_plugin release!
Comment #13
dsnopekI asked @tim.plunkett to re-run the branch tests and they are now passing. So, we no longer need to revert! Everything should be good now. :-)
Comment #14
japerrySo I've been playing with this tonight, and it definitely has issues.. using the latest version of layout plugin I get an error:
( ! ) Fatal error: Call to undefined method Drupal\layout_plugin\Plugin\Layout\LayoutDefault::buildConfigurationForm() in /Users/japerry/Sites/d8/drupal/modules/panels/src/Plugin/DisplayVariant/PanelsDisplayVariant.php on line 209
Which appears to make sense, since there is no buildConfigurationForm inside layout plugin. Ideas?
Comment #15
dsnopekWhat version of layout_plugin are you using? There's a
::buildConfigurationForm()method onLayoutBasewhich is the parent class ofLayoutDefault, but this was only added in layout_plugin 1.0-alpha19.Comment #16
japerryLooks like an issue with php needing to be reloaded fixed the issue. This works well now.