Regression: media-type option on digital object deriv regeneration task no longer works #1643
Labels
Type: bug
A flaw in the code that causes the software to produce an incorrect or unexpected result.
Milestone
Current Behavior
As part of release 2.6.0 and in preparation for the replacement of the legacy Flash-based media player, Feature #12903 was developed, adding a new
--media-type
option to the digital object derivatives regeneration task. This option allows users to specify a media type (e.g. audio, video, image, text, other) and limit regeneration of DO derivatives to just the selected type....in theory. At present, in qa/2.x (post 2.7.3 release), this option is no longer working as intended.
First reported in the AtoM user forum 2023-08-14; reproduced by DG in the AtoM-Docker local test env (on qa/2.x) 2023-08-16.
Steps to reproduce the behavior
--media-type
option to limit the generation to video:Error encountered
The task generates derivatives for ALL digital objects, rather than just the selected media type. Sample output from local testing:
Expected Behavior
AtoM will only regenerate the digital object derivatives for the selected media type
Possible Solution
No response
Context and Notes
See documentation for the related task here:
Version used
qa/2.x - AtoM settings page reads: 2.8.0 - 193
Operating System and version
Docker env
Default installation culture
en
PHP version
7.4
Contact details
No response
The text was updated successfully, but these errors were encountered: