Backlinks include note itself since update

Operating system

Windows

Joplin version

2.13.8

Desktop version info

Joplin 2.13.8 (prod, win32)

Client ID: 6cd667061e4a450dadcb5e41273a4348
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes

Revision: 604dcbc

Automatic Backlinks to note: 3.0.3

What issue do you have?

I just updated to the new Joplin version and since then the backlinks plugin shows a link to its own note in the backlinks section. This is the case for every note, whether it has other backlinks or only a link to itself.
Does anyone else have this issue?

Screenshots

I'm experiencing this issue as well with the update to 2.13.8. The previous version I had on this machine was 2.12.19, so I don't know when exactly the bug showed up.

Operating system
Windows

Joplin version
2.13.8

Desktop version info
Joplin 2.13.8 (prod, win32)

Client ID: cde4c37be9de46f8a08687eb5d825088
Sync Version: 3
Profile Version: 44
Keychain Supported: Yes

Revision: 604dcbc

Automatic Backlinks to note: 3.0.3
Emoji: 1.0.4
Markdown Prettier: 0.1.0
MultiMarkdown Table Tools: 1.1.0
Note Statistics: 1.0.4
Paste Special: 1.1.2
Plugin Bundle: 0.5.5
Search & Replace: 2.2.0
Templates: 2.4.0

2 Likes

@Heyooooooo To clarify, are you seeing that every note has backlinks to itself? I'm only showing a note has backlinks to itself if it isn't referenced by another note. So if Note A links to Note B, then Note B only shows a backlink to Note A. But if Note A doesn't link to Note B, then Note B shows a backlink to Note B.

Oh, you're right, it's the same for me. I thought I had checked that the link is always in the list, even when there are other links, but seems like it's not the case

It looks like the plugin

  1. gets the current note ID
  2. searches for the note ID in the body, id, and title of other notes:

I suspect that it shouldn't search the id field, but that wouldn't explain why it worked until recently.

I've since started using the DDDot Plugin, which has a backlink section as well and it has the same issue. Can't say if it's because/since the update though, since I didn't use it before

Hey, I've opened an issue on the GitHub repository for this plugin, so hopefully we can get a resolution.

4 Likes

I have the same problem on macOS!
I'm not sure when the problem happened, because I started using Joplin recently.
Thank you.

Operating system
macOS Venture 13.6.1

Desktop version info
Joplin 2.13.8 (prod, win32)

Automatic Backlinks to note: 3.0.3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

Are the developers aware of this issue? This is indeed something that changed in Joplin because it now returns the note with the searched ID, when no other result has been found. This is a convenience feature to quickly find a note by ID.

I didn't realise that would affect plugins and happy to tweak the feature if needed.