Skip to content
Snippets Groups Projects
Commit e8874a93 authored by vkovtun's avatar vkovtun
Browse files

SSDM-8405 Uncommented the tag ethz.identifier.openBisApiUrl in metz.xml. Now it produces no error.

(cherry picked from commit 831ae970)
parent 3450aced
No related branches found
No related tags found
No related merge requests found
......@@ -284,12 +284,11 @@ def generateXML(zipOutputStream, fileMetadata, exportDirPath, userInformation, e
publicationDateField.set('qualifier', 'issued')
publicationDateField.text = datetime.date.today().strftime('%Y-%m-%d')
# TODO: uncomment when this code is accepted at DSpace and does not produce the response 500 Internal Server Error.
# openBisApiUrlField = ET.SubElement(dim, ET.QName(dimNS, 'field'))
# openBisApiUrlField.set('mdschema', 'ethz')
# openBisApiUrlField.set('element', 'identifier')
# openBisApiUrlField.set('qualifier', 'openBisApiUrl')
# openBisApiUrlField.text = originUrl + '/openbis-test/'
openBisApiUrlField = ET.SubElement(dim, ET.QName(dimNS, 'field'))
openBisApiUrlField.set('mdschema', 'ethz')
openBisApiUrlField.set('element', 'identifier')
openBisApiUrlField.set('qualifier', 'openBisApiUrl')
openBisApiUrlField.text = originUrl + '/openbis-test/'
elnLimsURLPattern = '/openbis-test/webapp/eln-lims/?menuUniqueId=null&viewName='
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment