Project

General

Profile

Actions

Bug #13775

open

Remove character limitation on TreeViewNode::addColumnStyleClass

Added by Matthias Van Ceulebroeck 5 months ago. Updated about 9 hours ago.

Status:
Implemented @Emweb
Priority:
Normal
Target version:
Start date:
06/17/2025
Due date:
% Done:

100%

Estimated time:

Description

Adding a class to the TreeViewNode uses a WStringStream under the hood. There 'WStringStream::c_str()` is used. This is limited to 1024 characters.

We can omit this dependency, as the styleclasses added by Wt itself, are UTF8, and any styleclass provided by the developer have been added with WWidget::{add/set}StyleClass(). Making them UTF8, and thus not requiring this step again.
The call can thus rely on WStringStream::str(), which is not limited to 1024 characters.

Actions #1

Updated by Romain Mardulyn 5 months ago

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn
Actions #2

Updated by Romain Mardulyn 5 months ago

  • Status changed from InProgress to Review
  • Assignee deleted (Romain Mardulyn)
Actions #3

Updated by Matthias Van Ceulebroeck about 10 hours ago

  • Assignee set to Matthias Van Ceulebroeck
Actions #4

Updated by Matthias Van Ceulebroeck about 9 hours ago

  • Status changed from Review to Implemented @Emweb
  • Assignee changed from Matthias Van Ceulebroeck to Romain Mardulyn
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF