Commit 03b662fb authored by Günter Hipler's avatar Günter Hipler
Browse files

fixed error on edm:object property

parent 246c7cc1
......@@ -249,14 +249,14 @@ class EDM {
// noch konsistenter implementieren
//
Try { Extractors.digitalObjectIdShort(graph)(digitalObject) } match {
case Success(value) =>
aggregation.addIsShownBy(value)
case Success(digiObjIdShort) =>
aggregation.addIsShownBy(digiObjIdShort)
Extractors.ricoType(record) match {
case Some(value) =>
if (value == "Foto") {
aggregation.addEDMObjectFoto(Option(value))
case Some(ricoType) =>
if (ricoType == "Foto") {
aggregation.addEDMObjectFoto(digiObjIdShort)
}else {
aggregation.addEDMObjectNoFoto(Option(value))
aggregation.addEDMObjectNoFoto(digiObjIdShort)
}
case None =>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment