Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Commerce
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
19 Jan 2016 at 15:20 UTC
Updated:
9 Mar 2016 at 16:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
acrazyanimal commentedI searched the module for all such situations and came across three. Here is a patch which is git aware.
Btw, my use case to get this fixed is to provide a proper embedded registration management section on the order edit ui for the commerce_registration module. This will greatly improve the admin functionality for commerce_registration.
Comment #3
acrazyanimal commentedComment #4
mglamanInteresting! I wonder if there is a way we could write a test for this, but seems like only way to test is by implementing a form alter, which tests cannot do without a testing module (that we do not have.)
Comment #5
TimRutherford commentedCan confirm patch #2 works.
As mentioned above, testing this case seems to be a bit tricky. Not really an easy was to change the triggering element in tests without somehow adding elements to the form. Might be best to just leave the tests alone.
Comment #6
rszrama commentedThanks for the review. Committed!