You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Method addCanvas of class Range fails with message:
Exception in thread "main" java.lang.IllegalArgumentException: Member resource must only have an identifier and no other field. Use add<Resource>(URI first, URI... rest) for convenience.
at de.digitalcollections.iiif.model.sharedcanvas.Range.checkIdOnly(Range.java:98)
at de.digitalcollections.iiif.model.sharedcanvas.Range.addCanvas(Range.java:113)
It can be reproduced with:
import de.digitalcollections.iiif.model.sharedcanvas.Range;
class Test {
public static void main(String[] args) {
Range range = new Range("http://test/foo");
range.addCanvas("http://test/baz");
}
}
The cause is in method getCompleteness of ModelUtilities: the method getClass of Object is not filtered.
It could be replaced by:
Method
addCanvas
of classRange
fails with message:It can be reproduced with:
The cause is in method
getCompleteness
ofModelUtilities
: the methodgetClass
ofObject
is not filtered.It could be replaced by:
The text was updated successfully, but these errors were encountered: