Fatal Error after coloring pulls
NobbNobb opened this issue ยท 3 comments
I tried to color my pulls. The first pull was no problem. The second pull worked aswell. When i colored the third pull all mobs from the first pull turned black and the second pull lost his color completly. After that things got silly. I tried to color the first pull again but the thrid pull got colored. So i decided to reload my UI. Reopening MDT caused following error
And the Addon looked like this:
I'm not sure if i did something not normal. Like clicking out of the coloring tool or anything like that. Gonna reinstall the addon and try to reproduce the error to give more informations on that bug
If I remember right, this was caused by a broken configuration file. In my case I had the pulls 1 & 3 in my configuration, but the index of 3, was assumed to be 2, because it only had 2 pulls. And you can't index pull 2, because it is pull 3.
-
Is this still a problem, or is MDT now running correctly?
-
If yes, I could once fix your configuration file, if you can tell me Dungeon & Preset name.
-
@nnogga perhaps we should build a "repair" function, that checks explicitly for this error and later db errors, that are known. This was caused by the EnsureDBTables(), but should have been fixed with 2.5.0. So it can't be the case for new presets, but could be the case for old presets.
I managed to fix the fatal error. I just had to switch to a different dungeon which didn't had a broken preset, reload the UI and open MDT again. After that I could switch to the broken preset and just delete it. I did a test with a new preset but couldn't reproduce the problem which caused the fatal error.
Now I'm just left with not being able to color my pulls. Coloring one pull is fine. The moment I color a second pull the first colored pull gets back to default.
I fixed that bug in 0b3872e today. @nnogga will push a new version soon. If the bug is still appearing after getting the new version, reopen the ticket.