Skip to content

History export no longer works; crashes out on date separators #30818

Description

@ara4n

Steps to reproduce

Try to export history from room, and it silently fails and gets stuck after a few msgs with:

useTooltip.ts:160 Uncaught (in promise) Error: Tooltips must be wrapped in a global <TooltipProvider>
    at HTMLExporter.getDateSeparator (HtmlExport.tsx:258:36)
    at HTMLExporter.createHTML (HtmlExport.tsx:428:73)
    at HTMLExporter.export (HtmlExport.tsx:460:37)
    at async ExportDialog.tsx:108:13
getDateSeparator	@	HtmlExport.tsx:258
createHTML	@	HtmlExport.tsx:428
export	@	HtmlExport.tsx:460
await in export		
(anonymous)	@	ExportDialog.tsx:108
interceptSetValue	@	useStateCallback.ts:17
startExport	@	ExportDialog.tsx:122
onExportClick	@	ExportDialog.tsx:155

Outcome

What did you expect?

  • Export the history
  • If it fails, actually give the error why.

What happened instead?

  • Silently get stuck.

Operating system

No response

Application version

nightly

How did you install the app?

No response

Homeserver

No response

Will you send logs?

No

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-Export-ChatA-TooltipsAnything related to tooltipsO-OccasionalAffects or can be seen by some users regularly or most users rarelyS-MajorSeverely degrades major functionality or product features, with no satisfactory workaroundT-Defect

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions