Skip to content

Import/Export is broken #1532

@mathilde-cryptpad

Description

@mathilde-cryptpad

Description

Importing and exporting a document fails silently.

Steps to reproduce

  1. Open a Spreadsheet, Document or Presentation file
  2. Click the CryptPad File menu
  3. Select Import or Export
  4. Choose the file type you want
  5. Watch it fail silently

Relevant logs

Uncaught TypeError: modalElements[0] is undefined
    addTabListener https://cryptpad.fr/common/common-interface.js?ver=2024.6.0:584
    openCustomModal https://cryptpad.fr/common/common-interface.js?ver=2024.6.0:624
    exportXLSXFile https://cryptpad.fr/common/onlyoffice/inner.js?ver=2024.6.0:2245
    frame https://cryptpad.fr/common/common-interface.js?ver=2024.6.0:753
    jQuery 28
    close https://cryptpad.fr/common/common-interface.js?ver=2024.6.0:750
    once https://cryptpad.fr/common/common-util.js?ver=2024.6.0:523
    ok https://cryptpad.fr/common/common-interface.js?ver=2024.6.0:757
    jQuery 9
    prompt https://cryptpad.fr/common/common-interface.js?ver=2024.6.0:757
    exportXLSXFile https://cryptpad.fr/common/onlyoffice/inner.js?ver=2024.6.0:2231
    jQuery 8
    action https://cryptpad.fr/common/common-ui-elements.js?ver=2024.6.0:612
    createDropdownEntry https://cryptpad.fr/common/common-ui-elements.js?ver=2024.6.0:1550
    onClickEnter https://cryptpad.fr/common/common-util.js?ver=2024.6.0:120
    jQuery 2

Expected behavior

Import and export should be possible

Which operating system are you using?

Linux/BSD/UNIX, Microsoft Windows, Apple macOS

What browsers are you seeing the problem on?

Mozilla Firefox, Google Chrome

Extensions

Not relevant

Version

2024.6.0

Metadata

Metadata

Assignees

Labels

BugThere is a problem in our source codeDocumentRelated to the Document appPresentationRelated to the Presentation appSpreadsheetRelated to the Spreadsheet app

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions