Closed (duplicate)
Project:
D7 Media
Version:
7.x-2.0-unstable7
Component:
Media field
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Feb 2013 at 11:19 UTC
Updated:
26 Oct 2013 at 21:57 UTC
Hi,
I'm using the media field widget on a profile field. Everything works perfectly. Except when a user adds a new media file via the overlay. After the file has been added to the profile form the "Edit media" button doesn't show up. I've checked all permission. Also the file_entity_access method returns TRUE but the button isn't there. Only if the user saves the profile and reloads the form the button is displayed.
Comments
Comment #1
bsuttis commentedConfirming I've got the same issue as above.
One way to fix it is allow the user role permission to 'Edit any files' instead of 'Edit own files'. However this isn't ideal.
This issue http://drupal.org/node/1894390 says updating to latest dev versions of File entity and Media should fix the problem, but it remains for me.
Comment #2
zonesny commentedI'm experiencing the same issue as jay187 and bsuttis above. Previously, using Media 7.x-2.0-unstable7+38-dev and Media_YouTube 7.x-2.0-rc2+3-dev, my site showed three buttons after a user had selected a YouTube video:
select edit remove
Now, only the select button appears.
Currently installed:
Drupal core 7.22
File Entity 7.x-2.0-unstable7
Media 7.x-2.0-unstable7+42-dev
Media_YouTube 7.x-2.0-rc3
Incidentally, even logged in as "admin" with full permissions, I am experiencing this. For authenticated users, the following permissions were granted:
File Entity
- Administer files
- Add and upload files
Media Internet Sources
- Add media from remote services
Comment #3
devin carlson commentedThis is a duplicate of #1947388: 'Edit own files' permission does not output 'Edit media' button after adding file