Project

General

Profile

Actions

Bug #13775

closed
MV RM

Remove character limitation on TreeViewNode::addColumnStyleClass

Bug #13775: Remove character limitation on TreeViewNode::addColumnStyleClass

Added by Matthias Van Ceulebroeck about 1 year ago. Updated 7 months ago.

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

RM Updated by Romain Mardulyn about 1 year ago Actions #1

  • Status changed from New to InProgress
  • Assignee set to Romain Mardulyn

RM Updated by Romain Mardulyn about 1 year ago Actions #2

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

MV Updated by Matthias Van Ceulebroeck 10 months ago Actions #3

  • Assignee set to Matthias Van Ceulebroeck

MV Updated by Matthias Van Ceulebroeck 10 months ago Actions #4

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

RM Updated by Romain Mardulyn 7 months ago Actions #5

  • Status changed from Implemented @Emweb to Closed
Actions

Also available in: PDF Atom