Commit 93352eb2 authored by Thomas Bernhart's avatar Thomas Bernhart
Browse files

MEMO-781: Create placeholders in the correct order

When the placeholder for an thumbnail, which is at a subpath
[INSTANTIATION_ID]/derived is created before the placeholder for the
instantiation itself, this leads to errors during the ingest, because
fedora creates a pairtree node for each part in a path. Pairtree nodes
can't hold metadata themselves.
parent 2d11b7c7
Pipeline #16995 passed with stages
in 6 minutes and 48 seconds
......@@ -57,7 +57,7 @@ class RdfHandler(data: String, private val externalBaseUrl: String) {
statement.getObject().asResource().uri
}.filterKeep { uri ->
isInternalNonBinaryResource(uri)
}.toList().distinct()
}.toList().distinct().sorted()
}
fun getInstantiations(): List<Pair<String, Model>> {
......
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