Skip to content

Can't create or edit annotations on some pages #54

@pag06

Description

@pag06

I'm pretty confident this is a new issue that wasn't there a couple of months ago. One of our students reported it to us this morning, and we've confirmed it by further testings on different browsers / machines.

When trying to create new annotations, sometimes it's not working : whatever the Rectangle/Polygon/etc. tool is selected, the problem remains the same : when trying to draw the geometric shape on the page, nothing is displayed (no yellow line).

Also, I don't know if this is related or if it's another completely different bug, but sometimes the Edit button in the List View just simply don't work : clicking on it doesn't do anything.

By looking at the developper console, I can see some errors that I'm pretty sure weren't there before, such as :

When loading the page (under Firefox 115):

Erreur dans les liens source : Error: request failed with status 404
URL de la ressource : https://annonatate.fly.dev/assets/openseadragon/openseadragon.min.js
URL du lien source : openseadragon.min.js.map

When performing some actions on the page (under Safari 17.0):

[Error] TypeError: undefined is not an object (evaluating 'm.tracking')
	l (openseadragon-annotorious.min.js:28:32494)
	setTracking (openseadragon-annotorious.min.js:28:27115)
	(fonction anonyme) (openseadragon-annotorious.min.js:28:278741)
[Warning] pointerdown event on untracked pointer (openseadragon-annotorious.min.js, line 28)
[Warning] updatePointerUp(): pointerup on untracked gPoint (openseadragon-annotorious.min.js, line 28)
[Warning] pointerdown event on untracked pointer (openseadragon-annotorious.min.js, line 28)
[Warning] GesturePointList.removeContact() Implausible contacts value (openseadragon-annotorious.min.js, line 28)
[Warning] pointerdown event on untracked pointer (openseadragon-annotorious.min.js, line 28)
[Warning] GesturePointList.removeContact() Implausible contacts value (openseadragon-annotorious.min.js, line 28)
[Warning] pointerdown event on untracked pointer (openseadragon-annotorious.min.js, line 28)
[Warning] GesturePointList.removeContact() Implausible contacts value (openseadragon-annotorious.min.js, line 28)
[Warning] pointerdown event on untracked pointer (openseadragon-annotorious.min.js, line 28)
[Warning] updatePointerUp(): pointerup on untracked gPoint (openseadragon-annotorious.min.js, line 28)
[Warning] pointerdown event on untracked pointer (openseadragon-annotorious.min.js, line 28)
[Warning] GesturePointList.removeContact() Implausible contacts value (openseadragon-annotorious.min.js, line 28)
[Warning] pointerdown event on untracked pointer (openseadragon-annotorious.min.js, line 28)
[Warning] GesturePointList.removeContact() Implausible contacts value (openseadragon-annotorious.min.js, line 28)

And then a little bit later:

[Error] TypeError: undefined is not an object (evaluating 'this.selector("TextQuoteSelector").exact')
	__e (openseadragon-annotorious.min.js:1:9872)
	(fonction anonyme) (openseadragon-annotorious.min.js:1:14333)
	hd (openseadragon-annotorious.min.js:1:11780)
[Error] Unhandled Promise Rejection: TypeError: undefined is not an object (evaluating 'this.selector("TextQuoteSelector").exact')
	__e (openseadragon-annotorious.min.js:1:9872)
	(fonction anonyme) (openseadragon-annotorious.min.js:1:14333)
	hr (openseadragon-annotorious.min.js:1:6849)
	(fonction anonyme) (openseadragon-annotorious.min.js:1:2011)
	some
	Zn (openseadragon-annotorious.min.js:1:1910)
[Error] TypeError: undefined is not an object (evaluating 'this.selector("TextQuoteSelector").exact')
	__e (openseadragon-annotorious.min.js:1:9872)
	(fonction anonyme) (openseadragon-annotorious.min.js:1:14333)
	hd (openseadragon-annotorious.min.js:1:11780)

On Firefox I also got a bunch of:

Uncaught TypeError: this.rubberband is null
    rr RubberbandRectTool.js:39
    mouseMove Tool.js:177
    as Tool.js:181
    rr RubberbandRectTool.js:18
    as Tool.js:230
    pressHandler OSDAnnotationLayer.js:172
    oe openseadragon.js:6468
    $ openseadragon.js:5727
    pointerdown openseadragon.js:3401
    addEvent openseadragon.js:2094
    a openseadragon.js:4620
    setTracking openseadragon.js:3493
    Jh OSDAnnotationLayer.js:747
    Ax OpenSeadragonAnnotator.jsx:392
    Ox index.jsx:245
    d annotorious-toolbar.min.js:1
    g annotorious-toolbar.min.js:1
    loadAnno index.js:699
    getHandler openseadragon.min.js:8
    raiseEvent openseadragon.min.js:8
    l openseadragon.min.js:8
    success openseadragon.min.js:8
    s openseadragon.min.js:8
    addTiledImage openseadragon.min.js:8
    success openseadragon.min.js:8
    TileSource openseadragon.min.js:8
    getHandler openseadragon.min.js:8
    raiseEvent openseadragon.min.js:8
    t openseadragon.min.js:8
    success openseadragon.min.js:8
    onreadystatechange openseadragon.min.js:8
    makeAjaxRequest openseadragon.min.js:8
    getImageInfo openseadragon.min.js:8
    TileSource openseadragon.min.js:8
    addTiledImage openseadragon.min.js:8
    setTimeout handler*addTiledImage/< openseadragon.min.js:8
    addTiledImage openseadragon.min.js:8
    open openseadragon.min.js:8
    open openseadragon.min.js:8
    Viewer openseadragon.min.js:8
    OpenSeadragon openseadragon.min.js:8
    loadAnno index.js:688
    manifestLoad index.js:637
    next index.js:598
    click vue@2.6.14 line 6 > Function:3
    Be vue@2.6.14:6
    n vue@2.6.14:6
    _wrapper vue@2.6.14:6
    Qr vue@2.6.14:6
    it vue@2.6.14:6
    ti vue@2.6.14:6
    y vue@2.6.14:6
    f vue@2.6.14:6
    x vue@2.6.14:6
    x vue@2.6.14:6
    x vue@2.6.14:6
    x vue@2.6.14:6
    zi vue@2.6.14:6
    _update vue@2.6.14:6
    r vue@2.6.14:6
    get vue@2.6.14:6
    run vue@2.6.14:6
    ln vue@2.6.14:6
    Qe vue@2.6.14:6
    We vue@2.6.14:6

I have the feeling maybe it depends whether the chronometer that says Took : 1 ms - chronomètre arrêté in the console is still running or already stopped when starting or drawing the geometric shape.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions