Closed jordandukart closed 1 year ago
Patch and project coverage have no change.
Comparison is base (
c2c44b9
) 76.72% compared to head (8048e5a
) 76.72%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
So, this works as described. The only hesitation I have is that the Media entity is still showing text/plain instead of the new mime type on the file.
Although I suppose that is a Drupal issue; not a Crayfish one...
What does this Pull Request do?
Allows a configured MIME type from an Islandora action to be passed through to Hypercube.
What's new?
The MIME type of
text/plain
is no longer hardcoded and a configured MIME type is now used.How should this be tested?
Create an action that uses Hypercube (OCR, hOCR) and specify a MIME type that isn't
text/plain
.Ingest an object and media that will create a derivative with Hypercube to be triggered (for example a book, pages and media).
The resultant
File
entities within Drupal have the set MIME type that matches the one configured.Interested parties
@Islandora/8-x-committers