I have a solutions with a lot of user that is going to use Umbraco backend.
Every user has its own media folder and I've added that folder as the start node for the user.
But when I use the grid's own Media Picker I dont get traversed down to the right folder and no other folder is visible.
Is that property editor not connected to media start node..?
I have the same problem in Version 7.2.8 - I determine a media start-Node, but in the grid, the User only see "media" with empty content and there is no way to see his folders, files or to upload new one.
Mh, but in a multi-user environment, this is not an option for me. User 1 has its own media folder and User 2 is not allowed to access the folders of User 1 and vise versa.
The error returned with me.
Running Version 7.3.4.
I investigate the code.
I logged in with a user, that has a subfolder of the media section as Startnode.
In the Umbraco.Overlays.MediaPickerController, this line setup the startnode of the media picker. If I hardcode the ID of the Startnode, everything works:
Ok. Here is my workarround for the issue, but I would be pleased to get feedback from the hq, if this is a correct solution and will be fixed in the future - cause updating umbraco will be difficult, if I change core code. :)
First, I added the userService to Grid.MediaController in line 10259:
.controller("Umbraco.PropertyEditors.Grid.MediaController",
function ($scope, $rootScope, $timeout,userService) {
After that, I insert the following code to line 10261:
Start node in media in Grid Media Picker
Hi!
I have a solutions with a lot of user that is going to use Umbraco backend. Every user has its own media folder and I've added that folder as the start node for the user.
But when I use the grid's own Media Picker I dont get traversed down to the right folder and no other folder is visible.
Is that property editor not connected to media start node..?
Sorry for bumping this but just want to know if this is a bug?
Im using 7.2.5 and I cant see that this problem is fixed in the later releases.
I have the same problem in Version 7.2.8 - I determine a media start-Node, but in the grid, the User only see "media" with empty content and there is no way to see his folders, files or to upload new one.
Is there a workaround for this issue?
For me the only solution was to move all folders to the root of the media section. Then I was able to reach the folders!
Mh, but in a multi-user environment, this is not an option for me. User 1 has its own media folder and User 2 is not allowed to access the folders of User 1 and vise versa.
Seems that in Version 7.4. the problem is fixed.
The error returned with me. Running Version 7.3.4.
I investigate the code. I logged in with a user, that has a subfolder of the media section as Startnode.
In the Umbraco.Overlays.MediaPickerController, this line setup the startnode of the media picker. If I hardcode the ID of the Startnode, everything works:
Line 3283 of /umbraco/js/umbraco.controllers.js
Console-Log of dialogOptions.startNodeId returns undefined.
So what can I do? I don't want to overwrite core-code for this. Did I configured something wrong or is this a bug?
Please help!!!
Ok. Here is my workarround for the issue, but I would be pleased to get feedback from the hq, if this is a correct solution and will be fixed in the future - cause updating umbraco will be difficult, if I change core code. :)
First, I added the userService to Grid.MediaController in line 10259:
After that, I insert the following code to line 10261:
Finally, in line 10278, I added this:
Now, the correct StartNodeId is set.
Hi
Have you created an inssue in the issue tracker? I couldn't find anything
http://issues.umbraco.org/issues?q=Grid.MediaController
is working on a reply...