From d8b193c19609987385ac5b2d29e01dfd264220cf Mon Sep 17 00:00:00 2001 From: matthew-a-dunlap Date: Wed, 2 May 2018 12:42:33 -0400 Subject: [PATCH] Prov: correct state when deleting and uploading prov json #4343 --- .../java/edu/harvard/iq/dataverse/ProvPopupFragmentBean.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/edu/harvard/iq/dataverse/ProvPopupFragmentBean.java b/src/main/java/edu/harvard/iq/dataverse/ProvPopupFragmentBean.java index 53c7f47a7ad..38c56ae4dcb 100644 --- a/src/main/java/edu/harvard/iq/dataverse/ProvPopupFragmentBean.java +++ b/src/main/java/edu/harvard/iq/dataverse/ProvPopupFragmentBean.java @@ -187,7 +187,7 @@ public String stagePopupChanges(boolean saveInPopup) throws IOException{ } if(deleteStoredJson) { stagingEntry.deleteJson = true; - + stagingEntry.provJson = null; popupDataFile.setProvEntityName(null); } if(null != jsonUploadedTempFile && "application/json".equalsIgnoreCase(jsonUploadedTempFile.getContentType())) { //delete and create again can both happen at once