`getPath of undefined`
SampsonCrowley opened this issue · 0 comments
Prerequisites
- Put an X between the brackets on this line if you have done all of the following:
- Reproduced the problem in Safe Mode: https://flight-manual.atom.io/hacking-atom/sections/debugging/#using-safe-mode
- Followed all applicable steps in the debugging guide: https://flight-manual.atom.io/hacking-atom/sections/debugging/
- Checked the FAQs on the message board for common solutions: https://discuss.atom.io/c/faq
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+user%3Aatom
- Checked that there is not already an Atom package that provides the described functionality: https://atom.io/packages
Description
Files renamed when open give a false Cannot read property 'getPath' of undefined.
error
(I don't think this is a duplicate of the getPath null
issues already closed)
Steps to Reproduce
- Open a file
- Rename it while still open
Expected behavior:
No displayed errors
Actual behavior:
There is an error message in the rename window, but the file itself actually moves to the correct location and in the open pane. You can see in the screenshot below that the file pane actually does match the new name, but the rename modal errors instead of closing
Reproduces how often:
100%
Versions
atom --version
Atom : 1.58.0
Electron: 9.4.4
Chrome : 83.0.4103.122
Node : 12.14.1
apm--version
apm 2.6.2
npm 6.14.13
node 12.14.1 x64
atom 1.58.0
python 2.7.18
git 2.32.0
Additional Information
This happens across multiple systems, OSx and Arch Linux
no errors are shown in the console