Bug #692
Datastream.new should allow you to use :mime_type as an argument instead of :mimeType
| Status: | Closed | Start: | 01/05/2010 | |
| Priority: | Normal | Due date: | ||
| Assigned to: | - | % Done: | 0% |
|
| Category: | Convenience | Spent time: | - | |
| Target version: | 1.0.9 | |||
| Sponsor: |
Description
Datastream.new (both Fedora::Datastream and ActiveFedora::Datastream) does not set the mime type properly if you pass it :mime_type=>"xxx" as an argument. It only works if you pass :mimeType. The library should handle this Fedora API quirk for you.
History
Updated by Matt Zumwalt 205 days ago
worse, when you create a new Datastream, if you give it :mime_type as an argument, it stores it in .attributes[:mime_type] but fedora ignores it, meanwhile if you give it :mimeType as an argument, it does not go into the .attributes at all but does get into fedora??? totally wonky. needs to be fixed.