Fix project model issues on file changes

Authored by sdepiets on Aug 24 2018, 4:07 AM.

Description

Fix project model issues on file changes

Summary:
This revision fixes some issues with the Project Model refreshes

It mostly fixes behaviors which are applied to directories while they shouldn't (like cache requests for directories that return empty values, or unnecessary full regeneration).

BUG: 348757
BUG: 343371

Test Plan:
I've tested the following test matrix :

  • Move/Add/Remove/Save x File or Folder
  • Within the root folder, within subfolders (same or different), between the root and a subfolder

This is for a .po project architecture, I would be interested to know if the behavior doesn't create regressions with a .po/.pot or other architecture (which might be more buggy to begin with).

Reviewers: ltoscano, Localization, aacid, mlaurent

Tags: Localization

Differential Revision: https://phabricator.kde.org/D15049

Details

Committed
sdepietsAug 29 2018, 2:10 AM
Differential Revision
D15049: Fix project model issues on file changes
Parents
R456:ef644cb3554e: Improve management of empty/invalid files
Branches
Unknown
Tags
Unknown