Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Checkout
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Feb 2017 at 15:32 UTC
Updated:
17 Feb 2017 at 20:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
bojanz commentedNo point in building a pane we're not going to show, we're just wasting resources.
Let's fix it in Commerce. Stop doing the #access trick.
Comment #3
mikelutzHere is a quick fix, and I believe the correct one.
Comment #4
bojanz commentedThat breaks the API in several places, getPanes() is a public method that's used in many different contexts, including admin settings and declaring config dependencies.
Our fix needs to be in buildForm() / validateForm() / submitForm().
Committed a fix to GitHub, let's see what Travis says: https://travis-ci.org/drupalcommerce/commerce/jobs/198075368
Comment #6
bojanz commentedHere we go.
Comment #7
mikelutzMy mistake, I didn't think that through. Thanks for the quick fix.
Comment #8
mikelutz