Hello,
I am a Cuba development license owner.
I am developing an application, which relies on Snapshots. I am snapshotting an object, which has references to other objects.
I am using a view, which includes the necessary details of referenced objects, but when I invoke createSnaphot, I am getting a Snapshot XML containing ONLY the local properties.
I’ve traced the code to EntitySnapshotManager(158) - createSnapshot and I see, that
on line 177 setViewXml, viewSerializationAPI.toJson i correctly invoked and returns correct XML, but on the next line 178, entitySerializationAPI.toJson is invoked only with one param (entity) which lets the serialization API to work in the way as view param is provided as null.
Respectively, the view param provided to createSnapshot looks like is effectively ignored.
Could you, please, check if this is a real bug, because this problem actually currently puts the whole “history” functionality of the system on hold (we use snapshots to store historical info, which includes also info about referenced objects).
Thank you,
Delyan