Closed (fixed)
Project:
Commerce Core
Version:
8.x-2.x-dev
Component:
Checkout
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
18 Sep 2017 at 16:43 UTC
Updated:
27 Oct 2017 at 22:44 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
mglamanThe problem is that the default config is missing "commerce_checkout" as an enforced dependency. For some reason it didn't get set.
The
needs to be
in views.view.commerce_checkout_order_summary.yml
For now manually delete the view.
Comment #3
mglamanComment #4
guptahemant commentedComment #5
guptahemant commentedHere I have created a patch following the comments of @mglaman and adding it with "do not test".Please review.
Comment #6
mglamanI'm a bit curious why https://github.com/drupalcommerce/commerce/blob/8.x-2.x/tests/src/Functi... didn't fail. But I'll be okay with a manual test of this.
Comment #7
guptahemant commentedI have re uploaded the patch for manual review.
Comment #8
guptahemant commentedRe uploading the patch after changing the file name
Comment #9
navneet0693 commented@guptahemant You may need to write update hook for importing configurations, in case of the module is enabled on existing site.
cc: @mglaman
Comment #10
guptahemant commentedhi @navneet0693 will check in update hooks to reimport the configuratons.
Comment #11
guptahemant commentedhere is an updated patch where I have also added an hook_update_N() implementation to update the already added configurations,following the suggestions of @navneet0693 ,Please review.
Comment #12
guptahemant commentedComment #13
mglamanI think we can just use the patch in #8. I don't see a need to update the existing configuration just to fix a core WTF for dependencies. This is the assumption it's not something people will often do (install then uninstall) unless in dev.
I'll ping bojanz for further insight.
Comment #15
bojanz commentedAgreed with Matt, committed without the update hook.
UninstallTest is passing because it uninstalls all modules at once, but this issue is obviously triggered when uninstalling modules one by one. Improving that test is a task for another day though.
Comment #16
bojanz commented