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 { ...@@ -249,14 +249,14 @@ class EDM {
// noch konsistenter implementieren // noch konsistenter implementieren
// //
Try { Extractors.digitalObjectIdShort(graph)(digitalObject) } match { Try { Extractors.digitalObjectIdShort(graph)(digitalObject) } match {
case Success(value) => case Success(digiObjIdShort) =>
aggregation.addIsShownBy(value) aggregation.addIsShownBy(digiObjIdShort)
Extractors.ricoType(record) match { Extractors.ricoType(record) match {
case Some(value) => case Some(ricoType) =>
if (value == "Foto") { if (ricoType == "Foto") {
aggregation.addEDMObjectFoto(Option(value)) aggregation.addEDMObjectFoto(digiObjIdShort)
}else { }else {
aggregation.addEDMObjectNoFoto(Option(value)) aggregation.addEDMObjectNoFoto(digiObjIdShort)
} }
case None => 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