Make sure we don't crash when not using a filter
AbandonedPublic

Authored by kfunk on Jan 11 2016, 5:18 PM.

Details

Reviewers
apol
Summary

I'm getting a crash and I couldn't really completely figure out the code,
although this looks like a sane solution and fixes my crash.

Test Plan

Executing a missing target doesn't automatically crash, all tests pass.

Diff Detail

Repository
R33 KDevPlatform
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
apol updated this revision to Diff 1879.Jan 11 2016, 5:18 PM
apol retitled this revision from to Make sure we don't crash when not using a filter.
apol updated this object.
apol edited the test plan for this revision. (Show Details)
apol added a reviewer: kfunk.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJan 11 2016, 5:18 PM
kfunk edited edge metadata.Jan 11 2016, 5:24 PM

I'll try to reproduce the crash.

outputview/outputexecutejob.cpp
230

This renders the new feature (passing your own IFilteringStrategy*) to the model unusable, doesn't it?

outputview/outputmodel.cpp
437

Double assert?

444

That's ok.

kfunk added a comment.Jan 11 2016, 5:46 PM

Does this patch solve your problem? https://phabricator.kde.org/D789

kfunk commandeered this revision.Jan 13 2016, 9:01 PM
kfunk abandoned this revision.
kfunk edited reviewers, added: apol; removed: kfunk.

Issue solved by my other patch. See previous comment.