-
Notifications
You must be signed in to change notification settings - Fork 869
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
Using "add folder" does not add a folder correctly [0.7.2] #884
Comments
Hey again @DavidBurela! Once again, sorry. Yes, I can reproduce this 😞For me I get a "Failed to add to IPFS". I don't even get an empty folder. @olizilla @fsdiogo could you take a look at this one, please? |
interesting! I can't recreate this in Chrome 72 or Firefox 65, but I can on the 0.7.2 desktop release. In chrome 72 via webui adding a folder via the folder input leads to us sending an add request with
and we get the response {"Name":"foox/Untitled.txt","Bytes":11}
{"Name":"foox/Untitled.txt","Hash":"Qmf412jQZiuVUtdgnB36FXFX7xg5V6KEbSJ4dpQuhkLyfD","Size":"19"}
{"Name":"foox","Hash":"QmbdfJiE1XZRJVmxQAvArWpDz89jno5cRKpZGpQqFJvMiz","Size":"77"} but when we do the same thing in ipfs-desktop, we're sending
and we get the response {"Name":"Desktop/foox"}
{"Name":"Desktop/foox","Hash":"QmbFMke1KXqnYyBBWxB74N4c5SBnJMVAiMNRcGu6x1AwQH","Size":"6"}
{"Name":"Desktop","Hash":"QmaVFREPrsbhyjViXGo8DkKSHSG2go1Dpxhpob5aPBFfrp","Size":"56"} so it looks like the version of chromium in desktop has a different opinion about how the file path info for folders added via file input elements should be provided, which is another fun edge-case for that logic to deal with. |
@hacdias can you take a look at this? |
Note to self: electron/electron#839 |
Dragging a folder into the web ui, will add it correctly.
But clicking "add folder" seems to add an empty folder, that if you try to navigate into will result in it just continuously trying to load.
I have included a screencapture gif to show the bug.
The text was updated successfully, but these errors were encountered: