https://bugs.kde.org/show_bug.cgi?id=403668
Johannes Zarl-Zierl <johan...@zarl-zierl.at> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REPORTED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://commits.kde.org/kph | |otoalbum/b45dd424da08833004 | |a081347cda62eaeb23eb72 --- Comment #5 from Johannes Zarl-Zierl <johan...@zarl-zierl.at> --- Git commit b45dd424da08833004a081347cda62eaeb23eb72 by Johannes Zarl-Zierl. Committed on 03/02/2019 at 22:00. Pushed by johanneszarl into branch 'master'. Flush name cache when changing database compression. For performance reasons, FileReader::unescape and FileWriter::escape cache the results of (un)escaping. With the recent (introduced in v5.4) push to use the compressed file format by default, kphotoalbum would load an uncompressed file and later store it as a compressed one. In this process, the cache would be populated for an uncompressed file and later used to store a compressed file, producing incorrect results. On the next attempted database load, these incorrect results may be discarded if they are invalid XML attribute names, thus leading to data loss. M +7 -4 XMLDB/FileReader.cpp M +8 -4 XMLDB/FileWriter.cpp https://commits.kde.org/kphotoalbum/b45dd424da08833004a081347cda62eaeb23eb72 -- You are receiving this mail because: You are watching all bug changes.