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

Major bug: Incompatible with Obsidian's latest core plugin "properties" #194

Open
yshhwy opened this issue Jul 28, 2023 · 7 comments · May be fixed by #196
Open

Major bug: Incompatible with Obsidian's latest core plugin "properties" #194

yshhwy opened this issue Jul 28, 2023 · 7 comments · May be fixed by #196
Labels
bug Something isn't working

Comments

@yshhwy
Copy link

yshhwy commented Jul 28, 2023

*Environment: latest version of Obsidian and latest version of Anki

Describe the bug
When a file exists with properties (original yaml area), although synchronizing cards creates new cards in Anki, it does not return and add the card ID to the note. After testing, the plugin only works as expected when the yaml area is blank, but after one sync, the yaml area creates the card-deck field, causing the second and subsequent syncs to be abnormal.

To Reproduce
Steps to reproduce the behavior:

  1. Create a file with properties (original yaml area).
  2. Write a card
  3. Run the synchronize command

or:

  1. Create a blank file
  2. Write a card
  3. Run the synchronize command
  4. Write another card
  5. Run the synchronize command again

Markdown used

# Question #card
Answer

Additional context
I hope it'll be fixed soon. It's affecting the use of this beloved plugin in the latest version of Obsidian!

@yshhwy yshhwy added the bug Something isn't working label Jul 28, 2023
@github-actions
Copy link

Thank you for taking the time to report the issue and help me to make the project better! 🙂

@JH-Stuvansys
Copy link

I am a software-architect, but i developed about 20 years, but mostly in C#. So i am no expert in TypeScript. But the problem could be, that the "Properties" are readonly. And this function does not work:
image

image The error message is a hint for this: image

I am to busy at the moment, to invest more time in it. And i also might be wrong. But i hope, it could help.

@JH-Stuvansys
Copy link

Oh, i have seen, there seem to be a PR fixing this problem. I didnt see it before. I am getting old... ;)

@mjbramich
Copy link

Can we get the PR approved and merged? So it will fix this issue

@Alex986548
Copy link

Hello, I wonder if you found a solution for this issue? It seems to be working with the new Obsidian version, but it can't handle the tags add in the "properties" of the note.

@yshhwy
Copy link
Author

yshhwy commented Sep 13, 2023

Hello, I wonder if you found a solution for this issue? It seems to be working with the new Obsidian version, but it can't handle the tags add in the "properties" of the note.

Try this if anyone encounter the same problem. Download and replace. It works well for me, v1.4.12 Obsidian. #197 (comment)

@WalterWampe
Copy link

is this of any interest to anyone anymore?
it leaves the plugin completely unusable.

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

Successfully merging a pull request may close this issue.

5 participants