[UnindexedFileIndexer] Do not try to add nonexistant file to index
ClosedPublic

Authored by bruns on Jun 4 2019, 2:08 PM.

Details

Summary

A file may be deleted after it has been picked up by the iterator,
causing the fileId to be 0. This is not an error, remove the Q_ASSERT
and silently skip the file.

Diff Detail

Repository
R293 Baloo
Branch
submit_unindexed
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 12390
Build 12408: arc lint + arc unit
bruns created this revision.Jun 4 2019, 2:08 PM
Restricted Application added projects: Frameworks, Baloo. · View Herald TranscriptJun 4 2019, 2:08 PM
Restricted Application added a subscriber: kde-frameworks-devel. · View Herald Transcript
bruns requested review of this revision.Jun 4 2019, 2:08 PM
poboiko accepted this revision.Jun 4 2019, 5:06 PM
This revision is now accepted and ready to land.Jun 4 2019, 5:06 PM
ngraham accepted this revision.Jun 4 2019, 5:31 PM

Buh!

This revision was automatically updated to reflect the committed changes.