Details
-
Bug
-
Resolution: Fixed
-
Neutral
-
1.5.6
-
None
-
None
Description
This problem occurs, when trying to add a binary resource to the resources workspace through the admininterface.
When a new item is created in the resource tree, "binary" is automatically selected as the resource type. But the following is missing from the metadata node: <sv:property sv:name="mgnl:template" sv:type="String"><sv:value>resources:binary</sv:value></sv:property>. It is only added when one resets the resource type, even though it is already preselected.
How to recreate the issue:
1. Click "new item" on a folder in the resources tree (f.e. templating-kit/themes/pop/img/bgs)
2. Edit the newly created "untitled" item
3. Choose any kind of binary resource from the filepicker and confirm (f.e. perms.png)
4. rename the item (f.e. perms)
- The image is not available at its URL:
http://localhost:8080/magnoliaAuthor/resources/templating-kit/themes/pop/img/bgs/perms.png
5. double click on "resource type" to open the dropdown - choose binary again
The image is now available
Checklists
Attachments
Issue Links
- caused by
-
MGNLRES-54 IllegalStateException when trying to edit new item
-
- Closed
-