Project

General

Profile

Actions

Bug #6182

closed

wt4 fileupload progress not working

Added by Alex Ignatov about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
12/08/2017
Due date:
% Done:

0%

Estimated time:

Description

After migrating the development from wt3 to wt4 the fileupload progress is not available any more. The progressbar is not rendered and the wthttp log does not show single chunks during the upload process.

The piece of code is straightforward and did not change since wt3 except the transition to unique_ptr:

fileUpload_ = newFileDialog_->contents()->addWidget(std::make_unique<Wt::WFileUpload>());
fileUpload_->setMultiple(false);
fileUpload_->setProgressBar(std::make_unique<Wt::WProgressBar>());
fileUpload_->changed().connect(this, &MyClass::onFileUploadChanged);
fileUpload_->uploaded().connect(this, &MyClass::onFileUploaded);
fileUpload_->fileTooLarge().connect(this, &MyClass::onFileTooLarge);

Thanks

Alex

Actions #1

Updated by Roel Standaert about 7 years ago

  • Status changed from New to Resolved

Looks like there was a bug related to progress bars owned by the WFileUpload.

Actions #2

Updated by Roel Standaert over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF