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

bsuttis’s picture

Confirming 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.

zonesny’s picture

I'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

Devin Carlson’s picture

Status: Active » Closed (duplicate)