idpaterson / alfred-wunderlist-workflow

Unbelievably fast task entry in Wunderlist with due dates, reminders, and recurrence
298 stars 8 forks source link

Hashtag broken on create task in version 0.6.0-beta.6 #129

Closed csteinlehner closed 7 years ago

csteinlehner commented 7 years ago

Hi, it looks like there is a bug if I want to add a new task with an hashtag. I attached a screenshot

bildschirmfoto 2016-08-24 um 17 34 38
csteinlehner commented 7 years ago

the new hashtag search gives me the same error.

idpaterson commented 7 years ago

Well that's not good. I made changes to the table and added some migration to make sure it would wipe out the old schema but apparently that did not happen in your case. Let me know if this continues after doing a _wl-reset in Alfred. It seems like there could be an error when recreating the database... do you see anything in the Alfred error log the first time you run the workflow after _wl-reset?

csteinlehner commented 7 years ago

with a _wl-reset everything works fine. with error log you mean the console, right? nothing interesting is there for alfred.

idpaterson commented 7 years ago

I see the same error after resetting but only until the initial sync finishes. I'll take a look at this later to at least avoid showing that error during the initial sync. Unless you're getting an error when the workflow is setting up the data it seems like something that should go away after the initial sync is complete.

idpaterson commented 7 years ago

Oh! I know what happened. This is going to affect everyone who downloads the new version so I'll patch it right away.

The migration to the new database schema was performed, but the new "background" flag is not passed along when it re-syncs. When that migration occurs the sync ends up joining and waiting for its own process to finish (which never happens). I just need to maintain the background flag when resyncing after a schema migration.

idpaterson commented 7 years ago

The release is now patched. I will leave this open for a day or two in case anyone else downloaded the original version.