U4-11322 - version 7.10.4 MediaPicker sometimes not working

Created by jason 10 May 2018, 20:58:59 Updated by Sebastiaan Janssen 20 Jun 2018, 09:58:55

What did you do? add image

What did you expect to happen? show images in flyout

What actually happened? always loading, no images or folder show, and got a js error in console

Issue Caused by: startNodeId is a string "-1" Please add string "-1" check for Umbraco.Overlays.MediaPickerController' two if if ($scope.startNodeId !== -1) if ($scope.lastOpenedNode && $scope.lastOpenedNode !== -1) just like what you have done for Umbraco.Overlays.TreePickerController: if ($scope.enableSearh && dialogOptions.startNodeId && dialogOptions.startNodeId !== -1 && dialogOptions.startNodeId !== '-1')

2 Attachments

Comments

Sebastiaan Janssen 20 Jun 2018, 09:58:53

Hey @jason - if you can provide steps to reproduce this in a clean install of the latest version of Umbraco we'd be all ears. For now, this seems to work fine for everyone so I suspect some kind of problem in your setup.


Priority: Normal

Type: Bug

State: Can't Reproduce

Assignee:

Difficulty: Normal

Category:

Backwards Compatible: True

Fix Submitted:

Affected versions:

Due in version:

Sprint:

Story Points:

Cycle: