Project

General

Profile

Actions

Bug #5414

closed

JSON errors in WCartesianChart

Added by Koen Deforche about 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
Start date:
11/10/2016
Due date:
% Done:

0%

Estimated time:

Description

We occasionally see this error: WJavaScriptObjectStorage: Failed to assign value from JSON: JSON array length is incompatible with number of jsValues

Actions #1

Updated by Roel Standaert about 8 years ago

  • Status changed from New to Implemented @Emweb

This can occur when one of the WPaintedWidget::createJS*() functions is called without update(), or when an older event is received by the server where some jsValues are still missing, which becomes more likely when latency is high or server push is used.

Fixed by only checking if the JSON's array is shorter or equal in length to jsValues. It does not always have to be exactly equal.

Actions #2

Updated by Roel Standaert almost 8 years ago

  • Status changed from Implemented @Emweb to Resolved
Actions #3

Updated by Roel Standaert over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF