acdh-oeaw / arche-doorkeeper

A set of arche-core handlers implementing the ACDH business logic.
MIT License
0 stars 0 forks source link

checkAutoCreatedResources() should allow resources which passed the checkRanges check #23

Closed zozlak closed 1 year ago

zozlak commented 1 year ago

With the new approach to the named entities handling we will by design leave "empty" resources in the repository. They should be accepted until they were covered by the checkRanges check. Unfortunately it's not easy to tell because their class is derived from the property relating to them and the namespaces check is regex-based so a precise at-the-end-of-transaction check would need to be pretty complex. Still we can't just release the check because we currently allow creation of "empty" resources for properties which range isn't defined in the checkRanges (or which are out of ontology).

zozlak commented 1 year ago

Can be tested with /ARCHE/training/wollmilchsau/wollmilchsau_9552/import_var3/scriptFiles/wollmilchsau_collection.ttl