Error when loading xfdf freetext annotations on docx

WebViewer Version: 8.2.0

Hi! I’m getting errors when loading freetext xfdf annotations created for word documents (docx). Doesn’t appear to affect pdfs.

zone-evergreen.js:798 Uncaught Error: Uncaught (in promise): TypeError: Cannot read properties of undefined (reading 'index')
TypeError: Cannot read properties of undefined (reading 'index')
    at ba.va.Zz (webviewer-core.min.js:861:485)
    at ba.va.getNewAppearanceDocument (webviewer-core.min.js:862:148)
    at ba.e.$z (webviewer-core.min.js:972:184)
    at ba.e.xm (webviewer-core.min.js:972:282)
    at ba.xm (webviewer-core.min.js:235:435)
    at ba.xm (webviewer-core.min.js:366:253)
    at ba.i$ (webviewer-core.min.js:357:100)
    at ba.Xc (webviewer-core.min.js:356:352)
    at ba.Db (webviewer-core.min.js:366:342)
    at HubConnection.<anonymous> (docs-file-viewer.component.ts:146:43)
    at resolvePromise (zone-evergreen.js:798:1)
    at zone-evergreen.js:705:1
    at asyncGeneratorStep (asyncToGenerator.js:6:1)
    at _next (asyncToGenerator.js:25:1)
    at ZoneDelegate.invoke (zone-evergreen.js:364:1)
    at Object.onInvoke (core.js:28553:1)
    at ZoneDelegate.invoke (zone-evergreen.js:363:1)
    at Zone.run (zone-evergreen.js:123:1)
    at zone-evergreen.js:857:1

The error doesn’t occur in the 8.3.0-20220130 nightly.

I haven’t provided a sample to reproduce the error as it doesn’t seem to occur in the nightly, so it’s presumably a known issue to be fixed in an upcoming release.

Just wanted to check that that is in fact the case, and whether there may be a work around for 8.2.0 that we can implement until 8.3.0 is released.

Hello, I’m Ron, an automated tech support bot :robot:

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:APIs:Forums:

Hello there.

We are already in the process of releasing 8.3. Since it’s already fixed for the next version (which is gonna go live in one or two weeks), would it be possible to wait until then?

1 Like

Yep, that works, great to hear!