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

Failure in parsing Context tags #691

Closed ykis-0-0 closed 3 months ago

ykis-0-0 commented 3 months ago

Bug Report

App Version: v2.0.12

Platform: Windows

Installation Method: App Store

Expected Behavior: sleek should successfully parse todo.txt as follows

2024-03-27 @prjtest Test Project

Actual Behavior: sleek completely fails to parse with a popup mentioning

"Cannot read properties of undefined (reading 'includes')"

image

Steps to Reproduce:

  1. Prepare the todo.txt above
  2. Open the todo.txt with sleek
  3. Observe the unexpected behavior.

Screenshots: If applicable, include screenshots that demonstrate the bug.

ransome1 commented 3 months ago

@ykis-0-0 I created a todo based on your example and it works without the error. We had something similar a couple of days ago. But it was related to attribute filters. When this happens, are there any attributes selected (in the Attribute tab in drawer)?

ykis-0-0 commented 3 months ago

Hi, sorry for the late reply.

You're right that there are some updates to the file that invalidated the attribute selectors. A 'Reset Filters' brought the Application back to working state.

Thank you for your help, and may I close this issue as fixed 😄