Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Multiple Relationships adds extra "]" #1062

Open
2 tasks done
seanchiggins opened this issue Jun 22, 2024 · 2 comments
Open
2 tasks done

[Bug]: Multiple Relationships adds extra "]" #1062

seanchiggins opened this issue Jun 22, 2024 · 2 comments
Assignees
Labels
bug Something isn't working triage Issue not tagged yet. talking to the user

Comments

@seanchiggins
Copy link

Contact Details

sean@seanchiggins.com

What happened?

I was creating a book database of books that I have ready with relationships to an Author DB and a Main Character DB. If I select the Author first and then the Main Character, the formatting adds and extra "]" to the Main Character link. See below

Author:: [[Book Tracking/Author List/James Patterson.md|James Patterson]]
Main_Character:: [[Book Tracking/Character List/Alex Cross.md|Alex Cross]]]

If I select the Main Character first and then Author, everything is fine.

When broken, the Main Character is blank. If I then select the Main Character, it corrects the issue. I have also not found any issues with changing the Main Character or Author after it is working.

What platform were you using?

Desktop

Version of the plugin

3.5.1

Relevant log output

Not sure what logs you want.

Are you using the latest version of the plugin in your Obsidian vault?

  • I have verified that I am on the latest version

Are you check if there is a similar issue?

  • I have verified that there are not similar issues
@seanchiggins seanchiggins added bug Something isn't working triage Issue not tagged yet. talking to the user labels Jun 22, 2024
@YGMaerz
Copy link

YGMaerz commented Aug 19, 2024

Have the same issue and could replicate it in a demo vault.

Screenshot illustrating bug

image

Relevant files to investigate bug

data base is in:

  • file: 02 - AREAS/Self-Improvement System/_Practices/_Practices.md

Example of one practice file:

file: 02 - AREAS/Self-Improvement System/_Practices/Behavioral Design and Habit Formation.md

---
title: Behavioral Design and Habit Formation
aliases:
  - Habit Change
  - Behavior Modification
type: Practice
habits:
  - "[[Hydrate early]]"
  - "[[Delayed breakfast]]"
  - "[[Delayed coffee and stimulus]]"
  - "[[Addiction 1 stop]]"
  - "[[Addiction 2 stop]]"
---

## Behavioral Design and Habit Formation 🔄

file: 02 - AREAS/Self-Improvement System/_Practices/Creativity.md

---
title: Creativity
aliases:
  - Creative Expression
  - Artistic Pursuits
type: Practice
habits:
  - "[[Creative work]]"
---

## Creativity 🎨

Data to investigate bug

Link to demo vault that reconstructs error: DB Folder bug v20240819.zip

@kherge
Copy link

kherge commented Feb 22, 2025

I noticed that if you click on the column's name, mouse over the property's type, and choose "Relation", it has a more appropriate rendering of the links. Unfortunately for me, the styling used on it is unreadable with the Minimal theme.

Edit: I was able to resolve the styling issue with the following CSS snippet:

.database-plugin__relationship.is-loaded {
  background-color: transparent !important;
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Issue not tagged yet. talking to the user
Projects
None yet
Development

No branches or pull requests

4 participants