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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

danielsan18 created an issue. See original summary.

danielsan18’s picture

danielsan18’s picture

Status: Active » Needs review

  • sayco committed 60e8043 on 8.x-1.x
    Issue #2919340: Images in the message body are deleted after a while
    
sayco’s picture

Status: Needs review » Fixed

Hi, 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.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.

danielsan18’s picture