ivan-lednev / obsidian-task-archiver

Archive completed tasks in your Obsidian vault (plus other org-mode-like features)
MIT License
116 stars 12 forks source link

Bug: Archiver breaks frontmatter/the Property Editor in Obsidian 1.4.2 #59

Closed WebInspectInc closed 1 year ago

WebInspectInc commented 1 year ago

Weird issue, but it's been happening to me a lot lately: whenever I archive tasks in Obsidian 1.4.2, it breaks the property editor.

IF I have a "tags" property on the file (I assume any list of items, but I've only tested tags), and I run the "archive tasks in this file" command, it breaks the tags by adding tab characters to the YAML.

Just to make sure, I tested in the Sandbox vault. Here are steps to recreate:

Screenshot from 2023-08-09 09-16-58

The Archiver plugin adds an additional tab character for every additional tag, which is quite weird and annoying.

kmaustral commented 1 year ago

I've found this issue with any YAML property that is in list format.

Drakemoor commented 1 year ago

Not only that but it doesn't archive the tasks in the file if there is a list property in the YAML.

Drakemoor commented 1 year ago

Is there a workaround this?

ivan-lednev commented 1 year ago

Hello @WebInspectInc , please update the plugin and re-check. Let me know if this helps!

kmaustral commented 1 year ago

Works perfectly now. Thanks Ivan.

WebInspectInc commented 1 year ago

Hi @ivan-lednev, looks like it's fixed for me as well. Thank you!