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

getPath of undefined #1398

@SampsonCrowley

Description

@SampsonCrowley

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions