obsidian-week-planner
obsidian-week-planner copied to clipboard
Moving to any date deletes task
I ran into an issue where moving a task to a specific date causes the task to disappear entirely.
It seems to happen when a new note must be created to move the task to but not when moving the task to an already existing page. It creates a new page but the task is never copied over and the page is blank.
There are no errors in the console to indicate a problem.
Couldn't reproduce. On which OS are you?
I'm on linux.
Further testing I discovered it's a conflict with the MAKE.md plugin.
I turned off all plugins and the task was moved correctly. I then enabled the plugins one by one and as soon as I enabled the MAKE.md plugin the issue appeared.
Installed and enabled MAKE.md but still not able to reproduce.
That's weird because I can reliably reproduce it every time. If I disable MAKE.md everything works and when I enable it again tasks won't copy over. Now I'm going to be trying to figure out what setting and/or plugin in combination with MAKE.md is causing the issue.
It's not a deal breaker for me. I installed it for only one or two features and don't use it very much. I can just turn it off until I figure out what's going on.
EDIT: The plugin I don't use very much and can turn off is MAKE.md. This plugin is more useful to me.
Did you check your filesystem for the newly created file? Since MAKE.md maintains its own sort order it's sometimes hard to find the newly created file in the MAKE.md explorer view. That's what I found out.
The file is created, that's not the issue. The issue is the new file that is created is blank. The task is removed from whichever file it was originally in and is not added to the newly created file.
If the file exists before the task is moved there is no problem. The task is moved correctly.
For example:
I have these files before moving a task 2023-01-16-Monday 2023-01-17-Tuesday 2023-01-18-Wednesday
I move a task This works Move from 2023-01-16 to 2023-01-17 New file listing 2023-01-16-Monday - This file is correct. The task has been removed 2023-01-17-Tuesday - This file is correct. The task has been added 2023-01-18-Wednesday - This file is correct. No Change
This does not work Move from 2023-01-16 to 2023-01-19 New file listing 2023-01-16-Monday - This file is correct. The task has been removed 2023-01-17-Tuesday - this file is correct. No Change 2023-01-18-Wednesday - This file is correct. No Change 2023-01-19-Thursday - This file has been created but is blank. The task does not show up.
This only happens to me when MAKE.md is enabled. It works as expected if that plugin is not enabled.
Still not able to reproduce. Could be an OS-related issue (don't think so), or some side effect that doesn't exist in my current version, that includes some changes. I'm going to release a new version by the end of the week.
I'll give using MAKE.md another try when you release the next version. If I wasn't able to reliably reproduce this in my vault every time I'd think I was crazy.