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

Mobile: Following links sometimes results in a blank screen #10166

Closed
personalizedrefrigerator opened this issue Mar 20, 2024 · 0 comments · Fixed by #10168
Closed

Mobile: Following links sometimes results in a blank screen #10166

personalizedrefrigerator opened this issue Mar 20, 2024 · 0 comments · Fixed by #10168
Labels
bug It's a bug

Comments

@personalizedrefrigerator
Copy link
Collaborator

Operating system

Android

Joplin version

3.0.0

Desktop version info

No response

Current behaviour

To reproduce:

  1. Follow a link to a note
  2. Repeat step 1 several times

At present, sometimes, the screen becomes blank and no note is displayed.

Expected behaviour

Following links should always work.

This issue may have been introduced by the change here related to allowing openNote/openItem commands to work on mobile: b3ec92a#diff-bae26a183bc9c96ac2dc7ada643bf5c06a8363be9dba3fca6f2ee0259661aecbL261

Logs

The following warning is logged when this happens:

 WARN  Possible Unhandled Promise Rejection (id: 0):
TypeError: Cannot read property 'parent_id' of null
TypeError: Cannot read property 'parent_id' of null
    at ?anon_0_ (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:656211:111)
    at next (native)
    at fulfilled (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:656035:30)
    at tryCallOne (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/5815x2p5/x86_64/lib/InternalBytecode/InternalBytecode.js:53:16)
    at anonymous (/root/react-native/ReactAndroid/hermes-engine/.cxx/Release/5815x2p5/x86_64/lib/InternalBytecode/InternalBytecode.js:139:27)
    at apply (native)
    at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:27987:26)
    at _callTimer (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:27906:17)
    at _callReactNativeMicrotasksPass (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:27936:17)
    at callReactNativeMicrotasks (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:28099:44)
    at __callReactNativeMicrotasks (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:4267:46)
    at anonymous (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:4079:45)
    at __guard (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:4251:15)
    at flushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:4078:21)
    at invokeCallbackAndReturnFlushedQueue (http://localhost:8081/index.bundle?platform=android&dev=true&minify=false&app=net.cozic.joplin&modulesOnly=false&runModule=true:4072:33)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug It's a bug
Projects
None yet
1 participant