Skip to content
This repository has been archived by the owner on Dec 15, 2022. It is now read-only.

getPath of undefined #1398

Open
1 task done
SampsonCrowley opened this issue Jan 4, 2022 · 0 comments
Open
1 task done

getPath of undefined #1398

SampsonCrowley opened this issue Jan 4, 2022 · 0 comments

Comments

@SampsonCrowley
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant