Closed DuncanKummer closed 4 years ago
Commit #: 7055 CRs: jlittle, dvora
Description: Images were failing to load due to an erroneous call to getEmbeddedAnnotations. PDFs support embedded annotations due to their design, unlike non-PDF filetypes like PNGs or JPGs. The code wasn't correctly detecting if the current document was a PDF or not, and was calling getEmbeddedAnnotations every time. Fixed this by refactoring a conditional for functionality and readability!
Open an image (.png) in AEV, immediately met with an "Error Loading Annotations Dialog"
accompanied by this in tomcat:
AEV won't save any new annotations you add either: