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

Joplin desktop app problems with links #953

Closed
andrea-marini opened this Issue Nov 6, 2018 · 4 comments

Comments

Projects
None yet
3 participants
@andrea-marini

andrea-marini commented Nov 6, 2018

Operating system

  • Windows
  • Linux
  • Android

Application

  • Desktop
  • Mobile
  • Terminal

The Joplin implementation of links between notes doesn't work consistently, I tested creating a series of notes through the REST api, the import from export files and finally through writing directly to the .sqlite database of the desktop app and in all cases Joplin fails to open certain links opening the last inserted note instead. Sometimes after re-clicking the link this starts to correctly redirect to the correct note.

The proof of concept I'm posting creates an array of 100 random pages with 1 to 3 random links between them and then tries to import the pages as single notes in Joplin and translates the links represented as [[link-id]] to Joplin's syntax [note-id](:/note-id).

If after import you try navigating the links and pay attention you will notice inconsistent behaviour when clicking certain links.
I notice the more notes and the more links the more the links start working weirdly.

Notice I previously opened a thread at generating-notes-id-externally but the following is more straight to the point with a simple (77 lines of code) proof of concept I post below (remove .txt extension to get python original file):

joplin_test.py.txt
.

@foxmask

This comment has been minimized.

Collaborator

foxmask commented Nov 6, 2018

as everything you wrote here is already in the forum on the post you pointed, i'm afraid that @laurent22 closes that issue.

@andrea-marini

This comment has been minimized.

andrea-marini commented Nov 7, 2018

It took me hours to write the above proof of concept which was general enough and wasn't dependant on any API or import function in order to point out how Joplin doesn't manage more than a 100 notes with few hundreds internal links between them.

If no one even cares to run my 77 lines of python to check out a potential bug in how inter links are managed by Joplin I think I'll give up and look somewhere else.

@laurent22

This comment has been minimized.

Owner

laurent22 commented Nov 7, 2018

I care, but looking at this and hundreds of other posts and issues takes time and spare time is not infinite.

@andrea-marini

This comment has been minimized.

andrea-marini commented Nov 7, 2018

Didn't mean to rush and realize how much work you have to respond to all tickets. I was reacting to the possibility of the ticket being closed as "already answered in this forum".
In the meantime I'll be looking at React js programming and try to figure out where inter links and note ids are dealt with in the code.

@laurent22 laurent22 closed this in 28b1d8a Nov 8, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment