From a73b8e530f39a05be694d98897af2344a6dec3ef Mon Sep 17 00:00:00 2001
From: "J.-S. Caux" <J.S.Caux@uva.nl>
Date: Sat, 16 Jun 2018 20:57:24 +0200
Subject: [PATCH] Force save after update to check if this is the bug

---
 journals/views.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/journals/views.py b/journals/views.py
index 5e227706e..5bce28a35 100644
--- a/journals/views.py
+++ b/journals/views.py
@@ -872,6 +872,7 @@ def generic_metadata_xml_deposit(request, **kwargs):
 
     if not _object.doi_label:
         _object.create_doi_label()
+        _object.save()
 
     # create a doi_batch_id
     salt = ""
-- 
GitLab