Download & Extend

Storage stream wrapper should appear on any supported field regardless of entity type.

Project:Storage API
Version:7.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
storage_api-storage_core_bridge.patch5.8 KB
media-stream-wrapper.patch998 bytes

Comments

#1

Thanks for this!

I'll have time to review it next week.

#2

Status:needs review» fixed

Sorry for the delay!

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

#3

Status:fixed» closed (fixed)

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