I have a photo item with a file field that I can upload to a specific folder in my media library just fine on our development server, but when I try to do this on our staging server, It allows me to click upload, and seems to show progress of the upload but then gives me the error "not found" in the CMS. I don't see any error in the log files and when I look in the Access Viewer the user in question has create and read access to the folder. I initially thought I was able to do this as a super admin user, but I just now confirmed that this error is showing up for admin users as well.
-
In access viewer did you check media folder access as well and you have "Read" and "Create" access.? in both content folder as well as media folder. Also what version of sitecore it is.– Gobinath SaminathanCommented Nov 8, 2019 at 17:23
-
8.2. The folder in question has read and create access for the user in question in the access viewer. I'm not exaclty sure what you mean by "media folder access"– Levi WallachCommented Nov 8, 2019 at 18:31
-
"I have a photo item with a file field that I can upload to a specific folder in my media library" - question is have you checked the specific media folder access where you are going to upload file.?– Gobinath SaminathanCommented Nov 8, 2019 at 18:36
-
Yes, that's what I'm saying, in the access viewer the folder that the file is being uploaded to has create and read access for the user who is doing the uploading (but is not able to).– Levi WallachCommented Nov 8, 2019 at 19:52
-
what roles does this user have? is it sitecore/Author? If there is nothing shown in Sitecore logs, what is shown in Console in Dev Tools?– Sergey KrivchenkoCommented Nov 11, 2019 at 22:25
2 Answers
Here's a sample set of roles we have issued in the past without any user complaints:
sitecore\Author
sitecore\Analytics Testing
sitecore\Analytics Personalization
sitecore\Sitecore Client Maintaining
sitecore\Sitecore Client Users
sitecore\Sitecore Client Designing
sitecore\Sitecore Client Authoring
sitecore\Designer
Please check the Sitecore Roles guide to ensure that these roles meet your security requirements before making the change.
-
The user has most of these, but I also just found that super admins also get the same error when uploading an image. Commented Nov 12, 2019 at 16:13
-
@LeviWallach what happens if you try to do this in a private browser tab? Commented Nov 12, 2019 at 17:54
-
do you mean incognito tab? Unfortunately that's disabled on our machines, so I can't test it, and again, it's not an issue on our development machine. I also only have a few extensions active - Google Docs and McAffee DLP Endpoint. IE 11 does the same thing... Commented Nov 12, 2019 at 18:49
I apologize, apparently I was doing something out of order that was causing the issue. Apparently you have to:
- Click Browse on the File field of the template
- Click the Upload Media Button
- Hit Change Destination and pick the folder and navigating to the folder that you want to put it in.
- Click Browse Media files and pick your file to upload.
However, I was doing this:
- Click Browse on the File FIeld of the Template.
- Click the tree view icon
- Navigating and highlighting the folder (but not clicking the Select button)
- Clicking the Upload media button.
- Clicking Browse for media Files
- Picking the file to upload.