U4-7515 - Media type not enforced when using drag and drop functionality

Created by Chris Ashton 09 Dec 2015, 10:52:12 Updated by Shannon Deminick 19 May 2016, 09:39:49

Duplicates: U4-4196

I have need to create a small image library, where the images in this library have some custom properties. There is a custom media folder that only allows a custom media image as child nodes. The custom media image has the same properties as the built in image, with the addition of a timestamp (date picker with time), and a short description (textbox).

=What did you do?=

I followed the detailed description on [https://our.umbraco.org/documentation/Getting-Started/Data/Creating-Media/ Our Umbraco's 'creating media' documentation], using the employee example. The only difference between the Our Umbraco example and what I did is:

#My custom image type is call Library Image and I have two additional properties called timestamp of type date picker with time, and one called short description of type textbox; and

#My custom folder type is called Library Folder.

The only item allowed as a child of Library Folder was set to Library Image

=What did you expect to happen?=

I expect only Library Image items may be created as a child of Library Folder.

=What actually happened?=

#Whilst on a Library Folder media item... When I used the ellipse > Create > slide draw opens method of creating items under Library Folder I am only allowed to create media of type Library Image. This is what I expect to happen.

#Whilst on a Library Folder media item... if I drag an image from my computer's local file system on to Library Folder's content tab a media item of type Image is created. I believe as only media of type Library Image are allowed in this location the newly uploaded media should be of type Library Image.

Background information

  • '''Umbraco''': v7.2.4
  • '''Local OS''': Mac OSX 10.11.1
  • '''Browser''': Chrome 47.0.2526.80 (64-bit)


Priority: Normal

Type: Bug

State: Duplicate


Difficulty: Normal


Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:


Story Points: