decaf-dev / obsidian-dataloom

Weave together data from diverse sources and display them in different views. Inspired by Excel spreadsheets and Notion.so.
https://dataloom.xyz/
MIT License
899 stars 32 forks source link

Bug: `Multi-Tag` does not work when the property-key has spaces #932

Open chrisgrieser opened 4 months ago

chrisgrieser commented 4 months ago

Describe the bug

In this example, I have two properties, solutions and types of compatibility. Both are of the Obsidian Type "List". Selecting the DataLoom type "Multi-tag" works fine to display and work with solutions, but reports "invalid property value" with types of compatibility.

Pasted image 2024-02-25 at 17 15 19@2x

Steps to reproduce

With a bit of trial and error, I could figure out that the problem seems to be related to spaces. As soon as rename the property to not include spaces, the problem disappears.

  1. Create two properties, one with, one without spaces.
  2. Make them both of type "List" in Obsidian
  3. Add them both as "multi-tag" in a loom.

Expected behavior

Property keys with spaces should still work.

Are you using the mobile app?

No

Obsidian debug info

SYSTEM INFO: Obsidian version: v1.5.8 Installer version: v1.5.8 Operating system: Darwin Kernel Version 23.1.0: Mon Oct 9 21:28:12 PDT 2023; root:xnu-10002.41.9~6/RELEASE_ARM64_T8103 23.1.0 Login status: logged in Catalyst license: supporter Insider build toggle: on Live preview: on Base theme: adapt to system Community theme: Prism v3.4.4 Snippets enabled: 0 Restricted mode: off Plugins installed: 12 Plugins enabled: 12 1: Hot Reload v0.1.10 2: Vimrc Support v0.9.0 3: Style Settings v1.0.7 4: Quadro v0.28.8 5: Shukuchi v0.4.1 6: Scroll Offset v1.0.4 7: Theme Design Utilities v0.21.3 8: Code Editor Shortcuts v1.14.0 9: Advanced URI v1.40.0 10: Grappling Hook v0.7.2 11: Merge Notes v0.0.8 12: DataLoom v8.15.12

RECOMMENDATIONS: Custom theme and snippets: for cosmetic issues, please first try updating your theme and disabling your snippets. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community theme and snippets. Community plugins: for bugs, please first try updating all your plugins to latest. If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Relevant log output

nothing in the console