mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 18:14:26 +00:00
Dois with status value: NULL, are deleted in Database. We don't need to send an online delete.
This commit is contained in:

committed by
Pascal-Nicolas Becker

parent
62e5b6f2f8
commit
ada63be883
@@ -682,7 +682,14 @@ public class DOIIdentifierProvider
|
||||
// change doi status in db if necessary.
|
||||
if (null != doiRow)
|
||||
{
|
||||
if(doiRow.isColumnNull("status"))
|
||||
{
|
||||
doiRow.setColumn("status", DELETED);
|
||||
}
|
||||
else
|
||||
{
|
||||
doiRow.setColumn("status", TO_BE_DELETED);
|
||||
}
|
||||
try {
|
||||
DatabaseManager.update(context, doiRow);
|
||||
context.commit();
|
||||
|
Reference in New Issue
Block a user