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.
When we add images to the message body these are deleted after a while.
It was reviewed that the problem lies in the state of the image. When the image is added it is saved with state 0 (temporary), but when saving the settings of the popup_message this state is not updated to 1 to be permanent.
Comment | File | Size | Author |
---|---|---|---|
#2 | images-message-body-deleted-2919340-#1.patch | 2.5 KB | danielsan18 |
Comments
Comment #2
danielsan18 CreditAttribution: danielsan18 commentedComment #3
danielsan18 CreditAttribution: danielsan18 commentedComment #5
sayco CreditAttribution: sayco at Droptica commentedHi, thank you for reporting and supplying a patch. It's been a long time since your report, so in the meantime some core functionalities became deprecated. I've also replaced the static call into DI. Anyway, I managed to use part of your patch, to write an up to date code.
Comment #7
danielsan18 CreditAttribution: danielsan18 at Softwin Peru commented