Core Error with cleartask()
LadyCailinBot opened this issue ยท 2 comments
CMDHELPER-2984 - Reported by mussonking
I've been running an old version of CH for months, now that I updated I get an error which tells me to report to the developer...
here is the error pasted from console:
http://paste.thezomg.com/15157/35771014/
Comment by PseudoKnight
--You seem to be specifying a specific task id "15", when you couldn't possibly know that it'll be that id. Since you can't specify a task id when creating a task, the argument in clear_task() should always be a variable.-- It seems it just reports it in plain text. What method did you retrieve the id and is there any other way it was cleared?
There's at least one bug here, though, as it should ignore invalid ids according to the documentation, even if it's out of range.