atom/tree-view

Uncaught Error: ENOENT: no such file or directory, lstat '/ Inc'

Closed this issue · 1 comments

Prerequisites

Description

Uncaught Error: ENOENT: no such file or directory, lstat '/ Inc' - comma in a folder no causes drag/drop of file to different folder to fail.

Steps to Reproduce

  1. Create a folder with a comma in the name. (I have a corporate "OneDrive" folder that I cannot rename which is named as: "OneDrive - Name of Company, Inc")
  2. Create a file within that folder.
  3. Create a subfolder and a file within it.
  4. Drag the file from the subfolder to the parent folder.
  5. Voila - Get Uncaught Error: ENONET...

Expected behavior:

File is moved to given folder

Actual behavior:

Receive the Error dialog:
Uncaught Error: ENOENT: no such file or directory, lstat '/ Inc'

Reproduces how often:

100% of the time the error occurs.

Versions

Atom : 1.50.0
Electron: 5.0.13
Chrome : 73.0.3683.121
Node : 12.0.0

Additional Information

Atom is a fantastic tool. I use it for most of my development projects. Seems that Atom should be able to handle modern filenames as it does so well with so many other things.

@kbartman Thank you for the reproduction details. I have been able to reproduce this on

apm  2.5.2
npm  6.14.8
node 12.4.0 x64
atom 1.51.0
python 2.7.16
git 2.24.3
OS: macOS Catalina 10.15.6