U4-9295 - Can't convert from Image Cropper to Media Picker

Created by Bjarne Fyrstenborg 16 Dec 2016, 13:39:14 Updated by Sebastiaan Janssen 25 Sep 2017, 10:39:37

Relates to: U4-10372

When an existing property use an Image Cropper and it has saved an object in model.value, then media picker fails to init because of javascript errors. It expect a value like a id or an comma delimited array of ids, but it should also check for if existing value it an object.

Workaround for now is first to change to an editor like textstring or textarea, next clear the object value and finally switch to a media picker.

2 Attachments


Bjarne Fyrstenborg 20 Dec 2016, 07:39:55

PR: https://github.com/umbraco/Umbraco-CMS/pull/1655

Priority: Normal

Type: Bug

State: Submitted


Difficulty: Normal


Backwards Compatible: True

Fix Submitted: Pull request

Affected versions: 7.5.6

Due in version:


Story Points: