Bug #692

avatar

Datastream.new should allow you to use :mime_type as an argument instead of :mimeType

Added by Matt Zumwalt 205 days ago. Updated 141 days ago.

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

avatar

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.

Updated by Matt Zumwalt 201 days ago

avatar
  • Target version changed from 1.0.7 to 1.0.9

Updated by Matt Zumwalt 141 days ago

avatar
  • Status changed from New to Closed

Also available in: Atom PDF