c8hallett / BujoAssistant

0 stars 0 forks source link

Overdue tasks are not showing up after redux rework #27

Closed c8hallett closed 2 years ago

c8hallett commented 2 years ago

There was a number of things causing this issue: 1) I had updated the format of the "date" stored in the database, but didn't update the querying method so it was comparing LocalDates to Long. This would never succeed and I would always (correctly) see an empty list in the tab. 2) With the separation of Actions into Commits and Actions, there was a synchronization issue where an Action could fire off a commit and a second action, and the second action could be performed/receive the state before the commit fired was executed. This was bad.