question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Files -> Pins -> Share link crashes the app

See original GitHub issue

macOS ipfs-desktop: 0.14.0 go-ipfs: 0.8.0 UI: v2.11.4 (69cd414)

QmS4ustL54uo8FzR9455qaxZwuMiUhyvMcX9Ba8nUH4uVv Screenshot 2021-03-31 at 08 31 40 crashed to white screen: Screenshot 2021-03-31 at 08 33 23

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
lidelcommented, Jun 8, 2021

@yusefnapora Thanks for looking into this!
My guess is that it was probably introduced to ensure mutations like “rename” or “remove” are limited to MFS and not exposed when on immutable /ipfs/{cid}.

I believe ensureMFS check is not needed for sharing operation – mind opening a PR that removes it?

0reactions
yusefnaporacommented, Jun 7, 2021

@lidel - if I just comment out the ensureMFS call in doFilesShareLink here, I can generate a share link for things that would previously hang forever (on main branch).

It looks like ensureMFS looks at the router state to see if the current page represents something in MFS? Do we need that at all for doFilesShareLink, or is it safe to just remove the call to ensureMFS there?

Read more comments on GitHub >

github_iconTop Results From Across the Web

OneDrive (Desktop app) crashes when trying to create share link
Hi, The OneDrive of a colleague crashes when she tries to create a share link to a file or folder. So normally, you...
Read more >
App crashes when trying to create a list of files from a directory
So I can see the file I've just created. For now, I'm just trying to list any file coming from the external storage....
Read more >
How to Fix the Google App Crashing on Android - MakeUseOf
Long-press the app and tap on App info. · Tap on the three-dotted icon in the top-right corner of your screen and choose...
Read more >
Photos app crashes when sharing! - Apple Community
I'm using iOS13.1.3 on my iPhone Xs Max. I now found that my Photos app crashes every time I try to share certain...
Read more >
Why are the apps on my phone crashing and force closing?
In some instances, an app may force close, crash, frequently freeze or stop responding, or generally not work as the app was designed....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found