New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Array of ValueObjects diff issue #207
Comments
if you are using sql repository, this issue could be fixed in fresh 1.3.10, could you check this? Bug you've posted - #206 - was affecting snapshots comparision |
The problem still exists in new version. I ran the test with 1.3.10 javers version and java: jdk1.7.0_79 (64 bit) Below I attached exported rows from jv_snapshot, which were created during commits: [{
"snapshot_pk": 1400,
"type": "INITIAL",
"state": "{ "data": "details-array"}",
"changed_properties": "[ "data"]",
"global_id_fk": 1201,
"commit_fk": 1500
},
{
"snapshot_pk": 1401,
"type": "INITIAL",
"state": "{ "id": "3", "array": [ { "valueObject": "javers.Detail", "ownerId": { "entity": "javers.Master", "cdoId": "3" }, "fragment": "array/0" } ]}",
"changed_properties": "[ "id", "array"]",
"global_id_fk": 1200,
"commit_fk": 1500
},
{
"snapshot_pk": 1402,
"type": "UPDATE",
"state": "{ "id": "3", "array": [ { "valueObject": "javers.Detail", "ownerId": { "entity": "javers.Master", "cdoId": "3" }, "fragment": "array/0" } ]}",
"changed_properties": "[ "array"]",
"global_id_fk": 1200,
"commit_fk": 1501
},
{
"snapshot_pk": 1403,
"type": "UPDATE",
"state": "{ "id": "3", "array": [ { "valueObject": "javers.Detail", "ownerId": { "entity": "javers.Master", "cdoId": "3" }, "fragment": "array/0" } ]}",
"changed_properties": "[ "array"]",
"global_id_fk": 1200,
"commit_fk": 1502
}
] |
okay, will take a look at this soon |
fixed issue in arrays dehydration and comparing deserialized primitive arrays
fix is on its way to Maven Central ... |
fixed in 1.3.13 release |
Hi again.
I'd like to report an diff isue.
Second and third commit save Master snapshot with 'array' property changed (although no change occurred).
processChangeList traces only one initial change.
The text was updated successfully, but these errors were encountered: