Fix assert due to non normalized indexed string
ClosedPublic

Authored by cordlandwehr on Jul 30 2016, 7:43 AM.

Details

Summary

Assert in KDevelop::BackgroundParser::trackerForUrl(KDevelop::IndexedString const&)
ensures that indexed strings are normalized. Thus use normalized
url for creating indexed string. Also add assert to find origins of possible
further uses of unnormalized urls for constructing normalized strings.

Diff Detail

Repository
R33 KDevPlatform
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
cordlandwehr retitled this revision from to Fix assert due to non normalized indexed string.
cordlandwehr updated this object.
cordlandwehr edited the test plan for this revision. (Show Details)
cordlandwehr added reviewers: KDevelop, brauch.
Restricted Application added a subscriber: kdevelop-devel. · View Herald TranscriptJul 30 2016, 7:43 AM
kfunk accepted this revision.Jul 30 2016, 9:18 AM
kfunk added a reviewer: kfunk.
This revision is now accepted and ready to land.Jul 30 2016, 9:18 AM
This revision was automatically updated to reflect the committed changes.
brauch edited edge metadata.Jul 30 2016, 2:44 PM

Very nice, thanks.