h3imdall / ftp-remote-edit

Edit files on ftp servers with Atom editor and without a workspace.
MIT License
178 stars 26 forks source link

Uncaught ReferenceError: tmp is not defined #450

Open nocturnalguru opened 1 year ago

nocturnalguru commented 1 year ago

upgraded to ftp-remote-edit

--> HIT CTRL SPACE AND LOG IN -> THEN ARROW DOWN TO NAVIGATE TREE. AFTER A FEW TIMES PRESSING DOWN, IT PRODUCES THE ERROR. THE MOUSE STILL WORKS.

The above was automatically generated when I used the 'copy' button to report the issue. Not sure if this is something in pulsar that still needs to be updated from atom to pulsar.

Prerequisites

Description

Steps to Reproduce

Expected behavior:

Actual behavior:

Versions

Atom: 1.102.0 x64 Electron: 12.2.3 OS: Ubuntu 22.04.2 Thrown From: ftp-remote-edit package 0.20.0

Stack Trace

Uncaught ReferenceError: tmp is not defined

At /home/pjiggy/.pulsar/packages/ftp-remote-edit/lib/views/tree-view.js:612

ReferenceError: tmp is not defined
    at TreeView.remoteKeyboardNavigationDown (tree-view.js:612:10)
    at TreeView.remoteKeyboardNavigation (tree-view.js:556:14)
    at HTMLDivElement.<anonymous> (tree-view.js:126:38)
    at HTMLDivElement.dispatch (/packages/ftp-remote-edit/node_modules/jquery/dist/jquery.js:4435:9)
    at HTMLDivElement.elemData.handle (/packages/ftp-remote-edit/node_modules/jquery/dist/jquery.js:4121:28)

Commands

     -1:12.4.0 ftp-remote-edit:toggle (div.tool-panel.tree-view)
     -1:10.1.0 core:confirm (input.hidden-input)
 10x -1:00.7.0 core:move-down (div.ftp-remote-edit-view.ftp-remote-edit-resizer.tool-panel)

Non-Core Packages

ftp-remote-edit 0.20.0 

Additional Information

simply entering the password and selecting the server will trigger the error as soon as I navigate using the arrow keys to expand the directory tree.

Love the work you have done so far...

vitneum commented 1 year ago

tree-view.js : line 612 [ tmp = current; ] edit to [ let tmp = current; ]