Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inbox selection crash #108

Closed
yl-whosit opened this issue Jul 10, 2023 · 2 comments
Closed

Inbox selection crash #108

yl-whosit opened this issue Jul 10, 2023 · 2 comments
Labels
Bug Something isn't working
Milestone

Comments

@yl-whosit
Copy link

yl-whosit commented Jul 10, 2023

2023-07-10 15:38:20: ERROR[Main]: ServerError: AsyncErr: Lua: Runtime error from mod 'mail' in callback on_playerReceiveFields(): ...t/5.7.0/Minetest_live/bin/../mods/mail_mod/ui/events.lua:74: attempt to index a nil value
2023-07-10 15:38:20: ERROR[Main]: stack traceback:
2023-07-10 15:38:20: ERROR[Main]: ...t/5.7.0/Minetest_live/bin/../mods/mail_mod/ui/events.lua:74: in function 'func'

looks like similar issue to #93

version: de07f6b
here:

if getInbox()[evt.row-1].id == selected_msg then

(our reference: #4915)

@Athozus
Copy link
Member

Athozus commented Jul 10, 2023

Let me fix it, I think I understood it. Just have to write a piece of code.

@Athozus Athozus added this to the 1.2.1 milestone Jul 10, 2023
@Athozus Athozus added the Bug Something isn't working label Jul 10, 2023
@Athozus
Copy link
Member

Athozus commented Jul 10, 2023

I've fixed the way to fix that filter issues by checking the whole selection list. However, you might upgrade to the latest 1.2.0 release, there are more fixes in the working tree.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants