kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
64 stars 63 forks source link

Correction comment state #6155

Closed solth closed 3 months ago

solth commented 3 months ago

This pull request slightly adjusts the WorkflowControllerService.solveProblem function so that a comment's corrected flag with value TRUE is saved to the database before closeTaskByUser is called. That method loads the comment from the database and requires the updated corrected state to work properly.

The updated corrected state is then saved to the index field correctionCommentStatus which in turn is used to determine whether the grey or red exclamation mark icon should be displayed in the process and task lists. Thereby fixes #5676

BartChris commented 3 months ago

Functionality-wise everything works now, i just have a comment.