Skip to content

Crash when exporting highlights in history #14916

Description

@jospalau

Device

Other (please specify in additional information)

KOReader version

Latest development version KOReader v2025.10-107-g08ea73f73_2026-02-03

Model and firmware version

Emulator and other devices

Issue description

When exporting highlights of a book from the history, the program is crashing

Steps to reproduce

Open a new book and hightlight some text
Exit book
Go to history
Right clic on book - Export highlights
It crashes

If the plugin export highlights which comes as outdated is activated there is no crash but a blank message is shown instead

Log

./luajit: frontend/apps/filemanager/filemanagercollection.lua:1564: attempt to index field 'exporter' (a nil value)
stack traceback:
	frontend/apps/filemanager/filemanagercollection.lua:1564: in function 'callback'
	frontend/ui/widget/buttontable.lua:81: in function 'callback'
	frontend/ui/widget/button.lua:493: in function 'handleEvent'
	frontend/ui/widget/container/inputcontainer.lua:269: in function 'handleEvent'
	frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
	frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
	frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
	frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
	frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'
	frontend/ui/widget/container/widgetcontainer.lua:101: in function 'handleEvent'
	frontend/ui/widget/container/widgetcontainer.lua:83: in function 'propagateEvent'

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions