samvera / hydra-works

A ruby gem implementation of the PCDM Works domain model based on the Samvera software stack
Other
24 stars 14 forks source link

Hydra::Works::CharacterizationService placing metadata on FileSet instead of File #290

Closed awead closed 8 years ago

awead commented 8 years ago

This issue was first reported in projecthydra/sufia#1894

Hydra::Works::CharacterizationService is updating the FileSet object with technical metadata extracted from Fits. This data should go in the File object instead.

awead commented 8 years ago

In looking into this, it's going deeper. Hydra::Works::CharacterizationService takes an ActiveFedora::Base object, but it needs to take a Hydra::PCDM::File. We'd need to re-tool Hydra::Works to apply the various schemas to that object, similar to how it's being done in Hydra::PCDM:

https://github.com/projecthydra-labs/hydra-pcdm/blob/master/lib/hydra/pcdm/models/file.rb

scossu commented 8 years ago

Is the plan to use the default Fedora fcr:metadata resource to store all technical metadata for a bitstream, or a different resource?

mjgiarlo commented 8 years ago

@scossu Yes, the plan is to use fcr:metadata.

awead commented 8 years ago

Fixed in 6e0dd6cc27ea64af816049b936515a4ef62ddc9b