atom/tree-view

`getPath of undefined`

SampsonCrowley opened this issue · 0 comments

Prerequisites

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

  1. Open a file
  2. 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

Screen Shot 2022-01-04 at 12 37 38 PM

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