Make-md / makemd

http://www.make.md
MIT License
1.09k stars 39 forks source link

Bug: Properties and Files disappear #71

Open Meastn opened 1 year ago

Meastn commented 1 year ago

Test Environment: MacBook Pro M1Pro MacOS Ventura 13.1 Obsidian 1.1.15 Existing and running plugins

Use Case: @wip Given user is in Spaces folder view When user creates new properties under the file created by make.md with the same name And user creates a new tag to relate with a bunch of properties that he wants to create And user tries to add a Date property by redefining the date format as dd MMM yyyy (possible cause) And user tries to click the Property column name to access properties menu Then the menu shows up empty And Files tab shows up empty although having subpages under that folder And it repeats for every other page in Obsidian from then on until a restart

@wip Given user is on the page carrying the same name as the folder When user clicks a page name from the Files tab Then user can not see the properties assigned for this folder in the page And when he returns to folder page Files tab is gone And properties becomes invisible until Obsidian is restarted

elvarb commented 1 year ago

Testing out Make and ran into this problem.

It happens when you modify the date format

To recreate

  1. Create a property to a page that is formatted as text and have the value in ISO format "import date: 2023-03-11"
  2. On the page this will show as "import date Mar 11 2023"
  3. Go to Make settings and modify the default date format from "MMM dd yyyy" to something that is not valid, like in my case I set it to "YYYY MM dd", or even blank as I did in the first time expecting it to fall back to ISO8601 as stated in the description
  4. This results in the whole property thing being broken and if I try to add a property it just gives an error.

Expected error would be to correctly fall back to some default.

jp-cen commented 1 year ago

Thanks for reporting this. Aware of the issue and this will be fixed in 0.7

Message ID: @.***>