Project

General

Profile

Actions

Bug #1472

closed

wt-3.2.3-rc1: JavaScript exception within StdGridLayoutImpl2.js

Added by Stefan Ruppert about 12 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
10/15/2012
Due date:
% Done:

0%

Estimated time:

Description

Hi,

after upgrading our application from wt-3.2.1 to wt-3.2.3-rc1 most of the layout problems are solved. But I now get sometimes the following JavaScript exception (caught with Chrome). Any idea?

We are using WGridLayout like the one found in the following Test app:

http://pastebin.com/c390CLhu

Note that the widgets "Details" and "More details" can hidden and shown by the user using a checkable menu item. Maybe there is a problem with a widget within a grid cell which is hidden?

Uncaught TypeError: Cannot read property '0' of undefined :8080/?wtd=FDWQEYo0JmxbKQmE&sid=1418913012&htmlHistory=true&deployPath=%2F&request=script&rand=1959781373:223
setConfig :8080/?wtd=FDWQEYo0JmxbKQmE&sid=1418913012&htmlHistory=true&deployPath=%2F&request=script&rand=1959781373:223
updateConfig :8080/?wtd=FDWQEYo0JmxbKQmE&sid=1418913012&htmlHistory=true&deployPath=%2F&request=script&rand=1959781373:224
(anonymous function)
(anonymous function)
ba :8080/?wtd=FDWQEYo0JmxbKQmE&sid=1418913012&htmlHistory=true&deployPath=%2F&request=script&rand=1959781373:210
L :8080/?wtd=FDWQEYo0JmxbKQmE&sid=1418913012&htmlHistory=true&deployPath=%2F&request=script&rand=1959781373:210
w :8080/?wtd=FDWQEYo0JmxbKQmE&sid=1418913012&htmlHistory=true&deployPath=%2F&request=script&rand=1959781373:162
x :8080/?wtd=FDWQEYo0JmxbKQmE&sid=1418913012&htmlHistory=true&deployPath=%2F&request=script&rand=1959781373:162
Actions #1

Updated by Koen Deforche about 12 years ago

  • Status changed from New to Resolved
  • Assignee set to Koen Deforche
  • Target version set to 3.2.3

Hey,

Cryptic as it may look, your stack-trace pointed me at the likely problem and I've pushed a fix.

I'ld appreciate if you could confirm that this solves it ?

Regards,

koen

Actions #2

Updated by Stefan Ruppert about 12 years ago

Hi Koen,

after applying your changes it seems to work fine. But the exception showed up only sometimes therefore I'll keep you informed if I get this exeception again.

Stefan

Actions #3

Updated by Koen Deforche about 12 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF