Community
Participate
Working Groups
The implementation of PropertyBucket.PropertyEntry.PropertyEntry(IPath, PropertyEntry) is unsafe (as used for persistent properties on resources) in the sense that it copies over properties from the source by reference. It only creates a copy of the value[][] Array, but not of the individual arrays. This leads to the following problem: - copying a file, persistent properties are copied - changing a persistent property on the copied file changes them also in the original file Workaround: - before setting the property on the copied file clear it first
Created attachment 54643 [details] Test case
Fix released.
Where are my manners? I forgot to say, thank you very much for the excellent bug report. Narrowing the problem down to the exact cause in the source code saved me a lot of investigation and effort. High quality bug reports like this are greatly appreciated.