Project

General

Profile

Bug #11379

Regression: WPaintedWidget in a layout fails with a JS error on progressive boot

Added by Bruce Toll 27 days ago. Updated 13 days ago.

Status:
Resolved
Priority:
Normal
Assignee:
Target version:
Start date:
02/26/2023
Due date:
% Done:

100%

Estimated time:

Description

With Wt 4.9.1, a WPaintedWidget in a layout can fail with a javascript error during a progressive boot. Attached is a sample program with a chart that demonstrates the issue, if configured for progressive boot. NOTE: The javascript error is not reported to the user or to the server, but the chart will not respond to being resized and an error will be reported if the browser debugger is open.

Attached, for your review, is a simple patch that seems to address the issue (in limited testing).


Files

#1

Updated by Roel Standaert 26 days ago

  • Status changed from New to Resolved
  • Assignee set to Bruce Toll
  • Target version set to 4.9.2
  • % Done changed from 0 to 100

That indeed appears to be a regression that appeared when we were removing jQuery. I applied your patch, thanks.

Also available in: Atom PDF