Closed (fixed)
Project:
Commerce License
Version:
8.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
28 Nov 2017 at 06:16 UTC
Updated:
13 Dec 2017 at 16:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
geroldk commentedFirst patch attached
Comment #4
joachim commentedCommitted! Thanks!
The page admin/commerce/licenses/create still crashes, but I'm happy to commit this patch, as the crash is to do with the form itself rather than routing.
Next steps for the admin UI will be:
- change the path to admin/commerce/licenses/add, which is the standard format core uses
- add an 'add-page' template -- see getAddPageRoute in the routing controller
- check what getAddFormRoute() is doing with the bundle key. I hacked the form quickly to make it not crash and something else crashed which made me think something there is going wrong.
- fix/remove LicenseCreateForm.