V8.2 - Image in RTE looses it's Url
See original GitHub issueI was working in 8.1.5, when I noticed that Items retrieved on an APIController, have an empty Url for Image properties. I.e. the Image property is there, it has an Id and UmbracoFile.Src and all, but Url is empty.
I upgraded to 8.2, just to see if it was a bug that was fixed, and now there’s a secondary issue, and the purpose of this ticket. If I add an image to a RTE inside a grid, it is initially displayed fine, but when I save and publish, it vanishes.
The code when I insert the image is <img src="/media/1016/warning.jpg" alt="" data-udi="umb://media/e375b74ab95140df9f5b3eb7d121ab95" />
After saving, the src-tag is gone : <img alt="" data-udi="umb://media/e375b74ab95140df9f5b3eb7d121ab95" />
I have reverted my code to 8.1.5 and this behaviour is now working again.
I can’t help but feel it may be related to the Url being empty.
Reproduction
Add an image to an RTE field inside a Grid.
Expected result
Image keeps it’s src-tag
Actual result
src-tag becomes empty after save.
This item has been added to our backlog AB#3246
Issue Analytics
- State:
- Created 4 years ago
- Comments:19 (9 by maintainers)
I’m just rendering the grid in razor. Updating the Rte.cshtml worked. Thanks.
Closing this one - the
Rte.cshtml
fix is scheduled for 8.4.0 (https://github.com/umbraco/Umbraco-CMS/issues/6763).