From 7493324f1f4516d7cf9a47b1ea28b95a034a2b88 Mon Sep 17 00:00:00 2001
From: Viktor Kovtun <viktor.kovtun@id.ethz.ch>
Date: Wed, 7 Aug 2019 14:21:55 +0200
Subject: [PATCH] SSDM-8405 Fixing the data initialization problem on the CI
 server.

---
 .../eln-lims/1/as/initialize-master-data.py   |   2 +-
 .../eln-lims/1/as/master-data/data-model.xls  | Bin 73728 -> 73728 bytes
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/initialize-master-data.py b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/initialize-master-data.py
index d632b954e81..f4f542edd3d 100644
--- a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/initialize-master-data.py
+++ b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/initialize-master-data.py
@@ -25,7 +25,7 @@ helper = MasterDataRegistrationHelper(sys.path)
 api = CommonServiceProvider.getApplicationContext().getBean(ApplicationServerApi.INTERNAL_SERVICE_NAME)
 sessionToken = api.loginAsSystem()
 props = CustomASServiceExecutionOptions().withParameter('xls', helper.listXlsByteArrays())\
-    .withParameter('xls_name', 'ELN-LIMS').withParameter('update_mode', 'UPDATE_EXISTING')\
+    .withParameter('xls_name', 'ELN-LIMS').withParameter('update_mode', 'UPDATE_IF_EXISTS')\
     .withParameter('scripts', helper.getAllScripts())
 result = api.executeCustomASService(sessionToken, CustomASServiceCode("xls-import-api"), props);
 print("======================== master-data xls ingestion result ========================")
diff --git a/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/master-data/data-model.xls b/openbis_standard_technologies/dist/core-plugins/eln-lims/1/as/master-data/data-model.xls
index 8d7784125bad3226f67a0cf35266de503b5a48cb..4d69110b10b17aa7e664af2f3bc8fc636427f53f 100644
GIT binary patch
delta 25
gcmZoTz|wGlWkU`No4}F<y&S&HMJ(HkSQz`H0efT!wEzGB

delta 25
gcmZoTz|wGlWkU`NTf-ZDiAmngMJ(HkSQz`H0f2=G4*&oF

-- 
GitLab