Uploaded image for project: 'Magnolia Resources Module'
  1. Magnolia Resources Module
  2. MGNLRES-59

Adding binary resources through the admininterface doesn't work properly

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Neutral
    • 1.5.7
    • 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)

      5. double click on "resource type" to open the dropdown - choose binary again

      The image is now available

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            Activity

              People

                rkovarik Roman Kovařík
                bvass Bence Vass
                Nucleus
                Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Bug DoR
                    Task DoD