No "success only" response returned in PutDataObjectsResponse
Hi all,
I send an horizon to the store using PutDataObjects and I received back a PutDataObjectsResponse. Everything work as expected since I can get my dataobject from the store after this operation. However, the store tells me that nothing has been put even if the dataobject has obviously been put. Indeed, the PutDataObjectsResponse does contain an empty success map attribute where it should contain one entry corresponding to the dataobject I asked to put. See ETP specs paragraph 9.3.3.
Three remarks:
- If the store cannot put a dataobject then it should send a protocol exception explaining why. I don't receive any protocol exception which makes sens since I can see that the store has indeed put the dataobject even if it does not tell that there was a success. The problem is really that I don't receive the success map attribute in PutDataObjectsResponse
- Looking at the code, I tend to think that this problem has already been looked at : https://community.opengroup.org/osdu/platform/domain-data-mgmt-services/reservoir/open-etp-server/-/blob/main/src/lib/oes/eml/openkv/StoreProto.cpp#L213 (line 213) but not fixed yet.
- This problem does not occur with PutDataspacesResponse which works as expected
This bug is quite an ennoying one because we can workaround but it leads to not trust the server response.