Problem/Motivation
With "Advanced HTML/Text" field, richtext editor enabled, when I upload an inline-image, the field is stored in temporary mode in database. When cron task is enabled, the file is deleted when core detects the defined temporary time file is reached.
I've attached a screenshot to demonstrate this problem.
| Comment | File | Size | Author |
|---|---|---|---|
| #9 | 3218296-9-broken-test.patch | 3.75 KB | jrockowitz |
| #9 | 3218296-9.patch | 5.08 KB | jrockowitz |
| #8 | 3218296-8.patch | 1.33 KB | jrockowitz |
| Screen Shot 2021-06-10 at 16.54.53.png | 321.71 KB | asrob |
Comments
Comment #2
jrockowitz commentedCan you provide an example webform that can be used to reproduce this issue?
Is suspect there some setting or configuration required to trigger this issue.
Comment #3
asrobSure, I've just created a new form because the old one contains sensitive information:
Is this enough? Or do you need anything else?
Comment #4
jrockowitz commentedI was able to replicate this issue via 6.x. I will also have to check 8.x-5.x
Comment #5
jrockowitz commentedComment #6
jrockowitz commentedHere is an example of an inline image that is not being processed correctly
Comment #7
jrockowitz commentedThis regression is being caused by #3171949: Error: Call to a member function getAttribute() on null in _webform_parse_file_uuids()
Comment #8
jrockowitz commentedComment #9
jrockowitz commentedComment #11
asrobHi @jrockowitz,
3218296-9.patch works for me on webform 6.0.3 as well. Thank you!
Comment #14
jrockowitz commentedPlease consider joining the Webform module's Open Collective to help ensure that the Webform module is maintained.