Skip to content

[Bug]: Links are not recognized on the properties #11

@RodWarrior

Description

@RodWarrior

Issue validation

  • I checked the issue to prevent duplicate
  • I checked my configurations files and the documentation

Describe the bug

When i try to use a link as a property, instead of it showing as the markdown link on the properties, i instead get an error of the property type, and the link shows as some kind of equation.

What happens:

links:: [[link1]]

Creates the property: dv_links
The value of this property is: {"path":"link1.md","embed":false,"type":"file"}
The type of this property is: ?

What i expected to happen:

links:: [[link1]]

Creates the property: dv_links
The value of this property is: [[link1]]
The type of this property is: text


The same if is more than one link.

What happens:
links:: [[link1]],[[link2]]
creates
dv_links : {"path":"link1.md","embed":false,"type":"file"},{"path":"link2.md","embed":false,"type":"file"}
property tipe: ?

What i expected:
links:: [[link1]],[[link2]]
creates
dv_links : [[link1]],[[link2]]
property type: list

How to reproduce ?

Create file [[link1]]
Create file [[Untitled]]
On file [[Untitled]] create dataview property as in:
links:: [[link1]]

Minimal Reproducible Example

Create file [[link1]]
Create file [[Untitled]]
On file [[Untitled]] create dataview property as in:
links:: [[link1]]

Image

Configuration

{
  "prefix": "dv_",
  "unflatten": {
    "enabled": false,
    "separator": "__"
  },
  "ignore": {
    "files": [],
    "keyName": "dv_ignore"
  },
  "dql": true,
  "djs": true,
  "listFields": {
    "fields": [],
    "lowerCase": true,
    "ignoreAccents": true
  },
  "ignoreFields": {
    "fields": [],
    "lowerCase": true,
    "ignoreAccents": true
  },
  "cleanUpText": {
    "fields": [],
    "lowerCase": true,
    "ignoreAccents": true
  },
  "interval": 1000,
  "deleteFromFrontmatter": {
    "enabled": true,
    "lowerCase": true,
    "ignoreAccents": true
  }
}

Relevant log output

Anything else?

I am a bit of a noob in dataview and in the plugin, and also english is not my first language. So sorry for any difficulty in communicate the problem (and sorry if it's intended)

OS

Windows

Obsidian information

SYSTEM INFO:
	Obsidian version: v1.9.10
	Installer version: v1.9.10
	Operating system: Windows 10 Home Single Language 10.0.19045
	Login status: not logged in
	Language: pt-BR
	Insider build toggle: off
	Live preview: on
	Base theme: adapt to system
	Community theme: none
	Snippets enabled: 2
	Restricted mode: off
	Plugins installed: 21
	Plugins enabled: 18
		1: Solo RPG Toolkit v0.7.10
		2: Slash Commander v0.3.7
		3: Note Toolbar v1.25.02
		4: Root Folder Context Menu v1.4.19
		5: Smart Rename v2.0.26
		6: Tag Wrangler v0.6.4
		7: NetClip v1.3.9
		8: Links v1.17.47
		9: Advanced Canvas v5.3.3
		10: Dataview v0.5.68
		11: Dataview Serializer v1.8.1
		12: Metadata Menu v0.8.9
		13: Leaflet v6.0.5
		14: Meta Bind v1.4.5
		15: Icon Shortcodes v0.9.7
		16: Custom Attachment Location v9.2.1
		17: Opener: New Tab by Default v2.2.9
		18: Dataview (to) Properties v0.0.18

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.

Plugin version

0.0.18

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingmedium

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions