sartography / cr-connect

0 stars 0 forks source link

Revisit Admin Warnings code #733

Open cullerton opened 2 years ago

cullerton commented 2 years ago

While working on ticket 720 we lost the warnings that were generated for the Admin Warnings tab on the bottom of the Study page.

They were generated in StudyService._update_status_of_workflow_meta() We don't use that code anymore, because we get the information from the WorkflowModel now.

We should get the warnings back. Probably by repurposing the old _update_status_of_workflow_meta method. Take out the update status parts, and just generate the warnings.