Open michamos opened 1 year ago
This is currently blocked by #335
TECH NOTES:
In json-store.service.ts in removeJsonPatch
function, patchIndex
value is wrong. When an item is removed from patchesByPath
list, the indices change because length of the list change.
removeJsonPatch
function to take the correct index from Input() parameter@karolina-siemieniuk-morawska why am I assigned? Do I need to test it before release?
The task is currently suspended due to the need to change the core functionality of the project in order to fix the underlying cause of this issue.
when there are conflicts on a record where the patch would remove some list item and that patch gets applied, all the subsequent patches for the same list are incorrect. The list index in those patches applied to the initial list, but removal of an element shifts all subsequent indices.