Bases: `this` is incorrectly interpreted as a property when creating a new note

Steps to reproduce

  • Apply this Filter in bases (embedd or file) this.edited.contains(link(file.path, file.basename))
  • Click + New to create a new File within bases

Did you follow the troubleshooting guide? [Y/N]

Y

Expected result

  • A File that does not contain any property’s

Actual result

  • A File that contains a nonexistant property this.edited

Environment

SYSTEM INFO:
Obsidian version: v1.10.1
Installer version: v1.9.12
Operating system: Windows 11 Home 10.0.26200
Login status: logged in
Language: en
Catalyst license: insider
Insider build toggle: on
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: off
Plugins installed: 3
Plugins enabled: 3
1: Tasks v7.22.0
2: Global Search and Replace v0.5.0
3: Maps v0.1.2

RECOMMENDATIONS:
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.


Additional information

Hi.

Just a syntax error?

this.this.edited.contains(link(file.path, file.basename))

Yes, that worked, but why do i have to repeat “this” here? could you reference the correct documentation or explain? Even though that worked it is very confusing, should i propose a FR for that or smth. ?

1 Like

It’s not a syntax error. It’s a bug.

2 Likes