webext-docs icon indicating copy to clipboard operation
webext-docs copied to clipboard

messages.get can return empty messages due to move msgId renumbering, and date and folder is still set

Open opto opened this issue 3 years ago • 1 comments

After a message is moved, I can still get a message at the old id, it has a date (1970) and a folder set.

Put that into the documentation? Remove date and folder? Indicate somehow that it is not a valid message?

This somehow reminds me of the old Gloda (bug) where a Glodamsg can have an empty folder msg (i.e. being invalid). Maybe we can somehow invalidate the id or indicate it is not valid??.

opto avatar Feb 07 '22 21:02 opto

That is a bug, should be sorted out when we enforce the id to remain the same on move. When you file a bug for the keep-id-on-move, please mention this issue as well.

jobisoft avatar Feb 07 '22 21:02 jobisoft

Handled in https://bugzilla.mozilla.org/show_bug.cgi?id=1855486

jobisoft avatar Aug 28 '24 07:08 jobisoft