4Science / DSpace

This repository contains the 4Science optimized DSpace & DSpace-CRIS distribution.
https://wiki.lyrasis.org/display/DSPACECRIS/
BSD 3-Clause "New" or "Revised" License
42 stars 61 forks source link

delete all affected type-bind values when changing the type #359

Open philippcle opened 1 year ago

philippcle commented 1 year ago

At least in DSpace CRIS 2023.01 there is a bug that when saving for the first time after changing from document type A to document type B when editing the metadata in the workflow area, MD fields associated with A via type-bind remain stored in the database. The following PR solves this issue by committing to the DB at a later time.