Working with OG and Media-Module all of the sudden I had an error (324 (net::ERR_EMPTY_RESPONSE)) after saving a node. After disabling the Media-Module I could solve the error's cause and access the site again.
The error appears when assigning a file entity to an OG where it get's embedded/rendered.

Steps to reproduce the infinite loop:

  1. Add OG reference field to any file entity (image/video..)
  2. Create an OG
  3. Add a new file and assign it to the new OG
  4. Embed the file in the content section of the OG
  5. Make sure "Convert Media tags to markup" is enabled for the input format you're using
  6. Clear the Caches and call the OG's link

This solution works for me:
in media.filter.inc add the following code:

unset($file->og_group_ref);

just before

$element['content'] += field_attach_view('file', $file, $tag_info['view_mode']);

in line 377.

Comments

nm-dev’s picture

Status: Active » Needs work
Dave Reid’s picture

Priority: Critical » Major
Chris Matthews’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

Closing this issue as outdated. However, if you think this issue is still important, please let us know and we will gladly re-open it for review.
sincerely,
- the Drupal Media Team