We have moved to GitHub Issues
Created by Sebastiaan Janssen 26 Jan 2017, 10:44:50 Updated by Shannon Deminick 31 Jan 2017, 02:44:38Tags: Unscheduled Regression
Is duplicated by: U4-9447
This results in missing data in some caches.
Note: the bug does not cause any data corruption in the database it's only the cache population that has problems.
Tracing through code... it turns out that some IContent items retrieved by the repository had some properties with ID == 0 (ie new property data, which usually means that there was no corresponding record in the database) even though there ''is'' a corresponding record in the database.
Traced it to VersionableRepositoryBase.GetPropertyCollection no getting the proper property collection. Turns out there's a broken enumeration of property data DTOs in there, which would skip properties here and there.
Considered kinda major. Not sure if it can cause data corruption or not, depends on what's done with the retrieved data.
Functionally this all seems to be working now, 3 problematic sites are fixed with these changes in place, publish works and the correct data appears in the cache.
I've added a unit test that tests this logic which passes. I also confirmed that it didn't pass with the previous logic. I've merged this in.
Backwards Compatible: True
Affected versions: 7.5.8
Due in version: 7.5.9
Sprint: Sprint 51