Closed thorsten-wolf-neptune closed 4 months ago
Hi,
realted to abapgit deserialization with the "Skip initial values" feature i noticed a bug that when deserializing a JSON Array into an internal table that is hashed or sorted (which we have in abapgit (see:
https://github.com/abapGit/abapGit/blob/618f5ec2796b4523ef0b2bb0c74fb1f1e8e11a4b/src/data/zcl_abapgit_data_deserializer.clas.abap#L291C44-L291C60
https://github.com/abapGit/abapGit/blob/618f5ec2796b4523ef0b2bb0c74fb1f1e8e11a4b/src/data/zcl_abapgit_data_utils.clas.abap#L101
), there are previous non-empty values kept and put into the target lines that are supposed to have blank values for the corresponding components:
I tested with various table key types and the issue happens for:
It does not happen for standard tables (even with a non-unique key)
fixed with https://github.com/sbcgua/ajson/pull/182
Hi,
realted to abapgit deserialization with the "Skip initial values" feature i noticed a bug that when deserializing a JSON Array into an internal table that is hashed or sorted (which we have in abapgit (see:
https://github.com/abapGit/abapGit/blob/618f5ec2796b4523ef0b2bb0c74fb1f1e8e11a4b/src/data/zcl_abapgit_data_deserializer.clas.abap#L291C44-L291C60
https://github.com/abapGit/abapGit/blob/618f5ec2796b4523ef0b2bb0c74fb1f1e8e11a4b/src/data/zcl_abapgit_data_utils.clas.abap#L101
), there are previous non-empty values kept and put into the target lines that are supposed to have blank values for the corresponding components:
I tested with various table key types and the issue happens for:
It does not happen for standard tables (even with a non-unique key)