I recently upgraded media 2.x to the most recent dev version, together with media_browser_plus, and upon accessing /admin/config/media/media_browser_plus_settings I ran into issues solved in https://www.drupal.org/node/2126961.

But in addition to that patch, I had an issue where the max_filesize setting wouldn't save, and it looks like this little gem in media module is to blame:

/**
 * Delete legacy variables.
 */
function media_update_7223() {
  variable_del('media__max_filesize');
(snipped out)
  variable_del('media__browser_viewtype_default');
}

The attached patch removes all references to max_filesize in media_browser_plus. It won't apply together with the one from #2126961.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

badrange created an issue. See original summary.

badrange’s picture

badrange’s picture

badrange’s picture

badrange’s picture

Status: Active » Needs review
salvis’s picture

Status: Needs review » Closed (outdated)