Incorrect response to incorrect PutDataArray message
Hi,
Here is what I do:
- I connect to open etp server.
- Then I put a new dataspace which is as a consequence empty.
- I finally send a PutDataArrays message with a single entry in the map and which is associated to an EpcExternalPartReference which does not exist in the open etp server yet.
Here is what I receive:
- I receive a PutDataArrayResponse message with en empty success map which is OK even if I think I should not even receive it since the map is empty.
- I don't receive a ProtocolException message with a map of 1 error.
According to the specs, I think I should receive a ProtocolException message with a map of 1 error.
In 3.7.3
- A map request MUST have as a response: a) zero or more positive map response messages, b) zero or more map ProtocolException errors, and c) zero or one terminating, non-map ProtocolException error
[...}
Otherwise, if no terminating errors are sent:
i. Each key from the map in a map request MUST appear either as the key in a positive response map or as the key in the errors map in a ProtocolException message; that is, each request in a map was either successfully completed or results in an error, but not both.
ii. If a request message results in both positive responses and errors, the number of returned positive responses and the number of errors in ProtocolException MUST equal the total number of request items.