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.
Right now you can't put FAPE inside a dialog and expect validation errors to work properly. In fact, you can't have ajax submission at all, because the entity_save is in the page handler instead of the form submit callback.
I moved it to the submit callback and it seems to work. Is there something I'm overlooking? If not, I'll submit a patch.
Thanks.
Comment | File | Size | Author |
---|---|---|---|
#2 | fape-2657272-2-ajax_fix.patch | 713 bytes | captainack |
|
Comments
Comment #2
captainack CreditAttribution: captainack commentedComment #4
captainack CreditAttribution: captainack commentedweird... there's no test but it's trying to run one?
Comment #5
DamienMcKenna@captainack: It's a known bug in testbot.
Comment #6
captainack CreditAttribution: captainack commented