ransome1 / sleek

todo.txt manager for Linux, Windows and MacOS, free and open-source (FOSS)
https://github.com/ransome1/sleek/wiki
MIT License
1.28k stars 99 forks source link

TypeError: Cannot read properties of undefined (reading 'includes') #698

Open sebo505 opened 3 months ago

sebo505 commented 3 months ago

Bug Report

App Version: Sleek 2.0.13 (Flathub)

Platform: Linux: Fedora 39. Same bug also occurs on Solus

Installation Method: Flathub

Expected Behavior: Sleek should start and load my todo file and display existing todos.

Actual Behavior: Sleek will start, seems to load my todo file (sleek-todo.txt), but does not display any existing todos. On bottom left appears error message: Cannot read properties of undefined (reading 'includes')

Steps to Reproduce:

  1. start sleek

Screenshots: Bildschirmfoto vom 2024-04-04 14-59-51

This bug exists for several weeks now. So after running flatpak update, I always have to run sudo flatpak update --commit=6a1415b69edc360d533d3423323943849f6662470001fb4483fff3378fe7474f com.github.ransome1.sleek to return to last functioning Sleek version 2.0.11

running flatpak run com.github.ransome1.sleek in terminal gives following output: Pastebin

ransome1 commented 3 months ago

@sebo505 can you please empty your filters by pressing CTRL + 0 and then try again?

sebo505 commented 3 months ago

Pressing CTRL + 0 actually solves this issue. Would have never guessed that myself.

ransome1 commented 2 months ago

Unfortunately this is due to a minor incompatiblity between the way attribute filters are structered, introduced in 2.0.12 if I am not mistaken. I am aiming to solve this with the migration function of sleek in the next release. Until then I will pin this report in case others have the same issue.