Project

General

Profile

Actions

Bug #14758

open
MS

BS5: TypeError: can't access property "parentNode", this._element is undefined

Bug #14758: BS5: TypeError: can't access property "parentNode", this._element is undefined

Added by Michael Seibt 22 days ago. Updated 21 days ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
Start date:
08/18/2026
Due date:
% Done:

0%

Estimated time:

Description

Affected: Bootstrap 5 theme of Wt 4.14.1 & 4.14.0 (and maybe former versions)

Error is traced and pops up when running with <debug-level>all</debug-level>:

[error] "WApplication: JavaScript error: {""client_url"":""http://127.0.0.1:8080/?&wtd=0tZyVARLGnGCHaK2"",""exception_description"":""TypeError: can't access property \""parentNode\"", this._element is undefined"",""stack"":""Qi@http://127.0.0.1:8080/resources/themes/bootstrap/5/bootstrap.bundle.min.js:6:42174\ngetOrCreateInstance@http://127.0.0.1:8080/resources/themes/bootstrap/5/bootstrap.bundle.min.js:6:7897\ndataApiKeydownHandler@http://127.0.0.1:8080/resources/themes/bootstrap/5/bootstrap.bundle.min.js:6:46583\nn@http://127.0.0.1:8080/resources/themes/bootstrap/5/bootstrap.bundle.min.js:6:4326\n""}"

STR:

  • configure <debug-level>all</debug-level>
  • run attached main.cpp
  • focus a menu item (by starting an - always / at least usually - very pointless drag & drop operation, or by clicking an item which has a submenu)
  • hit Escape

-> session is killed after confirming error popup


Files

main.cpp (4.78 KB) main.cpp Michael Seibt, 08/18/2026 04:47 PM
wt_config.xml (40.5 KB) wt_config.xml Michael Seibt, 08/18/2026 04:48 PM

RM Updated by Romain Mardulyn 21 days ago Actions #1

  • Target version set to 4.15.0

This seems to be due to the dropdown menu being outside of a dropdown element.

Actions

Also available in: PDF Atom