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.
I have an entityqueue with subqueues. The entityqueue entity has an image field added to it. When adding an image and saving the subqueue, the machine_name value is emptied due to incomplete $form_state['values']. This patch augments $form_state['values'] with the values from $subqueue.
Comment | File | Size | Author |
---|---|---|---|
entityqueue-preserve-values.patch | 814 bytes | aether | |
Comments
Comment #2
lalit774 CreditAttribution: lalit774 commentedGot same issue. it not only for image. i have image field and check box field. if i update any of them. Subqueue machine name gets deleted.
Patch works for me.
Comment #4
amateescu CreditAttribution: amateescu for Pfizer, Inc. commentedThanks @aether for the patch and @lalit774 for testing it, the patch makes sense so I committed it to 7.x-1.x.