GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Remove the dead tree 'loadfail' handler in browser.js, which calls a non-existent tree.isSelected() · Issue #10601 · pgadmin-org/pgadmin4

Remove the dead tree 'loadfail' handler in browser.js, which calls a non-existent tree.isSelected() #10601

New issue
Copy link
New issue
Copy link
Closed
Closed
Remove the dead tree 'loadfail' handler in browser.js, which calls a non-existent tree.isSelected()#10601
Copy link
Labels
Housekeeping

Description

@dpage
dpage
opened on Oct 15, 2026
Issue body actions

onLoadFailNode in web/pgadmin/browser/static/js/browser.js (around lines 1265-1278) calls self.tree.isSelected(_nodeData), but the current Tree class (web/pgadmin/static/js/tree/tree.js) has no isSelected method, so it would throw a TypeError if it ever ran.

It is never reached in practice: the handler is registered for pgadmin-browser:tree:loadfail (browser.js around line 198), and nothing emits a loadfail event since the move away from aciTree; load failures are now handled in tree_nodes.ts. There is no user-visible effect today, so this is a clean-up: remove the handler and its registration (or, if the master-password handling in it is still wanted, rewrite it using self.tree.selected() and emit the event from the load failure path).

Activity

  1. dpage
    added
    Housekeeping
    on Oct 15, 2026
  2. dpage
    added a commit that references this issue on Oct 15, 2026

    Remove the dead tree 'loadfail' handler from browser.js. #10601 (#10620)

    cc1e1ef
  3. dpage commented on Oct 15, 2026

    @dpage
    dpage
    on Oct 15, 2026
    ContributorAuthor
    More actions

    Fixed in cc1e1ef (#10620).

  4. dpage
    closed this as completedon Oct 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Housekeeping

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.