Reprocessing now sets metadata to an item if not in state confirmed

When reprocessing an item, the metadat of all *files* are replaced.
This change now also sets some metadat to an item, but only if the
item is not in state "confirmed". Confirmed items are not touched, but
the metadata of the files is updated.
This commit is contained in:
Eike Kettner
2021-03-11 21:43:06 +01:00
parent ebaa31898e
commit 058c31e1f6
6 changed files with 53 additions and 19 deletions

View File

@ -2113,7 +2113,11 @@ paths:
summary: Start reprocessing the files of the item.
description: |
This submits a job that will re-process the files (either all
or the ones specified) of the item and replace the metadata.
or the ones specified) of the item and replace their metadata.
If the item is not in "confirmed" state, its associated metada
is also updated. Otherwise only the file metadata is updated
(like extracted text etc).
security:
- authTokenHeader: []
parameters: