Bug #6182
closedwt4 fileupload progress not working
0%
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
Updated by Roel Standaert almost 7 years ago
- Status changed from New to Resolved
Looks like there was a bug related to progress bars owned by the WFileUpload
.
Updated by Roel Standaert over 6 years ago
- Status changed from Resolved to Closed