Project

General

Profile

Bug #5838

Error on empty WComboBox (on 3.3.7)

Added by José Luis Rey about 5 years ago. Updated about 5 years ago.

Status:
Feedback
Priority:
Normal
Assignee:
-
Target version:
Start date:
07/28/2017
Due date:
% Done:

0%

Estimated time:

Description

Hello Team,

After updating to 3.3.7 some of our dialogs stops working, we discover that the problem comes when a WComboBox without any item is created, after 1 or 2 seconds after the WDialog's are created, this exception is throw to the console and javascript stops working.

Uncaught TypeError: Cannot read property ?wtd=8fSYjWyNQXYiyQQt&sid=--746676408&webGL=true&scrW=864&scrH=1536&tz=120&htmlHistory=true&deployPa...:1056 Uncaught TypeError: Cannot read property 'length' of null

at toUnicodeSelection (?wtd=8fSYjWyNQXYiyQQt&sid=--746676408&webGL=true&scrW=864&scrH=1536&tz=120&htmlHistory=true&deployPa...:1056)

at Object.window.Wt3_3_7.getUnicodeSelectionRange (?wtd=8fSYjWyNQXYiyQQt&sid=--746676408&webGL=true&scrW=864&scrH=1536&tz=120&htmlHistory=true&deployPa...:1072)

at encodeEvent (?wtd=8fSYjWyNQXYiyQQt&sid=--746676408&webGL=true&scrW=864&scrH=1536&tz=120&htmlHistory=true&deployPa...:2734)

at Object.update (?wtd=8fSYjWyNQXYiyQQt&sid=--746676408&webGL=true&scrW=864&scrH=1536&tz=120&htmlHistory=true&deployPa...:3204)

at HTMLSpanElement.f91 (eval at doJavaScript (?wtd=8fSYjWyNQXYiyQQt&sid=--746676408&webGL=true&scrW=864&scrH=1536&tz=120&htmlHistory=true&deployPa...:3064), :67:124)

at tm (?wtd=8fSYjWyNQXYiyQQt&sid=--746676408&webGL=true&scrW=864&scrH=1536&tz=120&htmlHistory=true&deployPa...:3481)


Files

issue_5838.cpp (1.01 KB) issue_5838.cpp Roel Standaert, 08/08/2017 04:11 PM

Also available in: Atom PDF