Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello!
I'm working with dev trunk from 7.x-2.x. I really like this module, but current stable 2.x has no entity translation support, so i decided to start working with latest git commit of 2.x branch.
So, problem exists when you hit submit button on entity form. Right now according to architecture of module, you use button-level submit handler that's great, but 'submit' action don't know anything about 'eck__entity__form_submit'. So, in this case - nothing submit and being saved.
I'll attach patch.
Comment | File | Size | Author |
---|---|---|---|
#2 | eck_eck_entity_form-submit_2559049.patch | 381 bytes | profak |
Comments
Comment #2
profak CreditAttribution: profak as a volunteer commentedPatch attached.
Comment #3
fmizzell CreditAttribution: fmizzell commentedComment #4
eric.napier CreditAttribution: eric.napier at CivicActions commentedI can confirm that eck__entity__form_submit() is running without this patch. @profak, can you describe the steps I can take to reproduce this issue? Under what conditions are you noticing that this submit function is not running?
Although the submit handler is not declared in the hook_form implementation, it is namespaced correctly, thus I believe this patch is unnecessary.
Comment #5
eric.napier CreditAttribution: eric.napier at CivicActions commented