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

"non-recoverable error" while trying subtasks #152

Open
weissel opened this issue Aug 30, 2020 · 3 comments
Open

"non-recoverable error" while trying subtasks #152

weissel opened this issue Aug 30, 2020 · 3 comments

Comments

@weissel
Copy link

weissel commented Aug 30, 2020

Was exploring subtasks, create, delete, name, rename, trying to understand how they can work for me ...

The mod Todo List (18.0.1) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Todo-List::on_gui_click (ID 1)
__Todo-List__/todo/features/subtasks.lua:66: attempt to index local 'subtask' (a nil value)
stack traceback:
	__Todo-List__/todo/features/subtasks.lua:66: in function 'update_subtask'
	__Todo-List__/todo/features/subtasks.lua:55: in function 'on_edit_subtask_save_click'
	__Todo-List__/todo/todo.lua:163: in function 'on_gui_click'
	__Todo-List__/control.lua:20: in function <__Todo-List__/control.lua:19>
@JonasJurczok
Copy link
Owner

Hey,

thanks for the report.

Can you please describe what you did when this problem occured?
How many subtasks did you have?

Thanks :)

@weissel
Copy link
Author

weissel commented Sep 28, 2020

Hi,

Sorry for being late --- life happened.
Maximum number of sub tasks: about 8, more likely around 5 at the time of the crash.
I was rapidly creating/deleting/changing subtasks to find out what they can do. IIRC I had only one single layer of subtasks on one main task.

Thanks!

@JonasJurczok
Copy link
Owner

life happened

Yeah, I know that feeling :D

Ah okay.

This could potentially happen when you click on edit on a couple tasks/subtasks without closing the dialog again.

But it should be a rare edge case.

If you find a way to reproduce it I can attempt to fix it :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants