Project

General

Profile

Actions

Bug #13775

open

Remove character limitation on TreeViewNode::addColumnStyleClass

Added by Matthias Van Ceulebroeck 26 days ago. Updated 23 days ago.

Status:
Review
Priority:
Normal
Assignee:
-
Target version:
Start date:
06/17/2025
Due date:
% Done:

0%

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 23 days ago

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

Updated by Romain Mardulyn 23 days ago

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

Also available in: Atom PDF