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

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

Open
sebo505 opened this issue Apr 4, 2024 · 3 comments
Open
Labels
bug Something isn't working

Comments

@sebo505
Copy link

sebo505 commented Apr 4, 2024

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

@sebo505 sebo505 added the bug Something isn't working label Apr 4, 2024
@ransome1
Copy link
Owner

ransome1 commented Apr 4, 2024

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

@sebo505
Copy link
Author

sebo505 commented Apr 4, 2024

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

@ransome1
Copy link
Owner

ransome1 commented Apr 6, 2024

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.

@ransome1 ransome1 pinned this issue Apr 6, 2024
@ransome1 ransome1 changed the title Sleek won't show todos: TypeError: Cannot read properties of undefined (reading 'includes') TypeError: Cannot read properties of undefined (reading 'includes') Apr 6, 2024
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
Status: Backlog
Development

No branches or pull requests

2 participants