Summary: | Coce images not appearing in staff interface | ||
---|---|---|---|
Product: | Koha | Reporter: | Lucas Gass (lukeg) <lucas> |
Component: | Cataloging | Assignee: | Bugs List <koha-bugs> |
Status: | NEW --- | QA Contact: | Testopia <testopia> |
Severity: | normal | ||
Priority: | P5 - low | CC: | andrew, esther.melander, kebliss, m.de.rooy, madamyk, pierre.genty |
Version: | Main | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | --- |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: | ||
Circulation function: |
Description
Lucas Gass (lukeg)
2022-12-28 20:31:40 UTC
It seems like what is happening here is that we are removing the containers prematurely. coce.js fetches the images and adds them but not before other JS in results.js is deciding there is no image and removing the container. This problem appears to be intermittent and random. For example, do a catalog search in the staff interface and the image will not show. Do the same search a few days later and the image shows. When doing a search and building a list with lots of different titles, some cover images show, others do not. We have tested different browsers, deleting cache, having librarians search on different browsers and computers, and the book covers will show one place and not another. We cannot pinpoint a reproducible show/not show of book cover images. (In reply to Esther Melander from comment #2) > This problem appears to be intermittent and random. For example, do a > catalog search in the staff interface and the image will not show. Do the > same search a few days later and the image shows. When doing a search and > building a list with lots of different titles, some cover images show, > others do not. We have tested different browsers, deleting cache, having > librarians search on different browsers and computers, and the book covers > will show one place and not another. We cannot pinpoint a reproducible > show/not show of book cover images. Esther, the problem being intermittent and random makes sense to me. When the call to Coce takes too long we removed the parent container. So this can depend on the speed of your network connection. I can more reliably recreate the issue when I clear my cache, as it then takes more time to load the images when nothing is cached. |