-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Description
Which Umbraco version are you using? (Please write the exact version, example: 10.1.0)
14.2.0
Bug summary
Thumbnail added to a block grid block does not render as the path is incorrect after setting.
Specifics
On a Block Grid Property Editor, for any added Block that a thumbnail has been set, the image for the thumbnail does not render.


Upon inspecting the page, the URL being used for the thumbnail image incorrect and returning a 404 error.

The generated URL the backoffice is trying to use is https://localhost:44351/umbracoassets/thumbnails/rich-text.png
The URL would be correct without 'umbraco', so this is being incorrectly added to the URL.
Steps to reproduce
- Create an Element doc type
- Create a Block Grid data type
- Add the element doc type as a block
- Set a thumbnail for the block
- See that no thumbnail is rendered in the block
- Inspect the page to see the incorrect URL for the thumbnail being requested and returning a 404 error
Expected result / actual result
Expected: A URL such as https://localhost:44351/assets/thumbnails/rich-text.png to be generated for the thumbnail when choosing file with path `wwwroot/assets/thumbnails/rich-text.png.
Actual: Broken URL https://localhost:44351/assets/thumbnails/rich-text.png generated for the thumbnail.
This item has been added to our backlog AB#45039