Project

General

Profile

Actions

Bug #5476

closed

Wt4 WAbstractItemView without JS DefaultPagingBar null pointer dereference

Added by Bruce Toll over 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Roel Standaert
Target version:
-
Start date:
01/03/2017
Due date:
% Done:

0%

Estimated time:

Description

Without JavaScript, attempting to display a WTableView with a DefaultPagingBar results in session termination with a log message of: "[error] "Wt: fatal error: observing_ptr null pointer dereference\". This is with the preview version of Wt4, github 3.3.6-19-gd0b41786.

This should be reproducible with the Widgetgallery by visiting internalPath "trees-tables/mvc-table-views".

Attached, for your review, is a trivial patch that seems to help. It's great that Wt can log and recover from this class of error.

NOTE: With Bootstrap3, the DefaultPagingBar may not be (completely) visible due to overflow/scrolling. This is also true with Wt3. See #2742.


Files

Actions #1

Updated by Roel Standaert over 7 years ago

  • Status changed from New to Implemented @Emweb
Actions #2

Updated by Roel Standaert over 7 years ago

  • Assignee set to Roel Standaert
Actions #3

Updated by Roel Standaert over 7 years ago

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

Updated by Roel Standaert over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF