Skip to content

Editor crashes with TypeError: Cannot read properties of undefined (reading '0') in updateHint #78

@fredricadell

Description

@fredricadell

Environment

  • Euro-Office Document Server version: 9.2.1
  • Nextcloud version: latest Docker image
  • ONLYOFFICE connector version: 9.2.1.37
  • Deployment: Docker (x86_64 native)

Description

When opening any document (new or existing) via the Nextcloud ONLYOFFICE connector,
the editor loads but immediately crashes with the following error:

TypeError: Cannot read properties of undefined (reading '0')
at n.updateHint (app.js:8:299088)
at n.onAppReady

The document never becomes editable. The error appears in the Euro-Office docservice log at:
/var/log/onlyoffice/documentserver/docservice/out.log

Additional info

  • Backend communication works correctly (all callbacks return {"error":0})
  • The exact same setup with onlyoffice/documentserver works without any issues
  • The bug appears to be in the frontend JavaScript editor

Steps to reproduce

  1. Deploy Euro-Office Document Server via Docker
  2. Connect to Nextcloud via ONLYOFFICE connector
  3. Try to open any .docx file

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions