Project

General

Profile

Actions

Bug #11379

closed

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

Added by Bruce Toll about 1 year ago. Updated 12 months ago.

Status:
Closed
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

Actions #1

Updated by Roel Standaert about 1 year 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.

Actions #2

Updated by Roel Standaert 12 months ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF