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
The first time this will happen it will create a new annotation page with the correct id. The second time I try and add an annotation to this page it will add it to the first annotationPage:
If I wanted to add an annotation to an existing annotationPage I could call the add_annotation method as follows:
The first time this will happen it will create a new annotation page with the correct id. The second time I try and add an annotation to this page it will add it to the first annotationPage:
iiif-prezi3/iiif_prezi3/helpers/annotation_helpers.py
Line 29 in aeed7b6
rather than searching through the annotaiton pages looking for the one that matches the ID.
Expected behaviour:
When passing in a annotationPage id the code should find that annotaiton page if it exists and add the annotation to the correct page.
Observed behaviour:
Untested but if the canvas already has a annotationPage then the annotaiton will be added to the first annotation page.
Potential bug location(s):
iiif-prezi3/iiif_prezi3/helpers/annotation_helpers.py
Line 29 in aeed7b6
The text was updated successfully, but these errors were encountered: