Currently the core_bridge module checks the url to decide which stream wrappers to show the user. The attached patch modifies this behavior to make these checks at the form level. This will allow entities from Commerce and other packages to use Storage API. Also attached is a simple patch for the Media module to avoid any hacks in the core_bridge to fix their mistake.

Comments

Thanks for this!

I'll have time to review it next week.

Status:Needs review» Fixed

Sorry for the delay!

I was able to simplify it further: http://drupalcode.org/project/storage_api.git/commitdiff/d0f5fdd

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.