Bug #3514
Wt 3.3.3 WBatchEditProxyModel::flags() breaks model Indexes
Added by Jan Lindemann about 8 years ago.
Updated almost 8 years ago.
Description
Dear Devs,
WBatchEditProxyModel's flags() method in Wt 3.3.3 passes inconsistent indexes
to the proxied model.
The attached patch fixes that and works for me. It also patches the unit test,
I haven't actually verified that part, though.
Best regards,
Jan
Files
- Status changed from New to InProgress
- Assignee set to Roel Standaert
- Target version set to 3.3.4
- Status changed from InProgress to Resolved
return sourceModel()->flags(index);
indeed needs to be
return sourceModel()->flags(sourceIndex);
. The
return WAbstractProxyModel::flags(index);
line is correct, though. I've fixed it and implemented a working test.
- Status changed from Resolved to Closed
Also available in: Atom
PDF