This pull is meant to address the issues outlined in 119
It removes the variable islandora_oralhistories_media_uploaded_type and makes derivatives rely on the mimetype of the OBJ DS directly.
How should this be tested?
This can be tested by ingesting an OH audio file followed by an OH video. Before the fix re-running derivatives on the OH audio would generate video derivatives. After the fix it will generate audio derivatives. There are update hooks in this pull that remove variables. It should be verified that they run and remove the variables.
Additional Notes:
This change would impact any downstream code relying on the variable being removed.
This pull is meant to address the issues outlined in 119
It removes the variable
islandora_oralhistories_media_uploaded_type
and makes derivatives rely on the mimetype of the OBJ DS directly.How should this be tested?
This can be tested by ingesting an OH audio file followed by an OH video. Before the fix re-running derivatives on the OH audio would generate video derivatives. After the fix it will generate audio derivatives. There are update hooks in this pull that remove variables. It should be verified that they run and remove the variables.
Additional Notes:
This change would impact any downstream code relying on the variable being removed.