Possible "annotationChanged" event handler intermittently not triggering

WebViewer Version: 10.6

Do you have an issue with a specific file(s)? No
Can you reproduce using one of our samples or online demos? No
Are you using the WebViewer server? No
Does the issue only happen on certain browsers? No
Is your issue related to a front-end framework? No
Is your issue related to annotations? Yes

Please give a brief summary of your issue:
Possible “annotationChanged” event handler intermittently not triggering

Please describe your issue and provide steps to reproduce it:
Good day. We getting reports in our production that sometimes after the user puts in a comment on a newly created annotation and clicks save, the user will later return to the WebViewer page and find the comment on the annotation is gone.

So far, we have determined that our API endpoint responsible for saving changes to annotations were not invoked as we have no logs of it being called around the timestamps of these reports. This API endpoint will only get invoked under the attached handler to “annotationChanged”.

Our support team is still trying to find out how exactly to replicate the issue being reported but in the meantime, I would like to ask if a similar issue has been reported and maybe addressed in the past or perhaps something like this has been addressed as of WebViewer 10.8?

Thank you very much!

Please provide a link to a minimal sample where the issue is reproducible:

Hello @joserafael.arce,

Thank you for contacting WebViewer support.

Its fairly difficult to determine if there was a very similar issue without further context, as an event not being triggered could come from various reasons.

You can find our changelog here for any fixes/changes were made: Changelog | Apryse Documentation

We look forward to hearing back from you with how to reproduce the issue. The following information would also help us diagnose the issue:

  1. Source input file used for testing
  2. JavaScript console output showing all warnings and errors.
  3. Network panel showing all failed network traffic
  4. Code related to handling the annotationChanged event, and the context around the handler.
  5. WebViewer constructor, including all options specified.
  6. Demonstration video of the issue, highlighting the expected vs. actual behavior.

Best Regards,
Jacob Romano Carlsen
Web Development Support Engineer
Apryse Software Inc.