Comment 2 for bug 1940105

Revision history for this message
Kyle Huckins (khuckins) wrote :

I've pushed a branch fixing this here: https://git.evergreen-ils.org/?p=working/Evergreen.git;a=shortlog;h=refs/heads/user/khuckins/lp1940105-archive-course-should-detach_material

The archive and delete functions both disassociate materials via course.service's disassociateMaterials function, which called resetItemFields. Insteaed, disassociateMaterials now utilizes the detach_material OpenSRF call, so the fix will apply to both scenarios