Can put DataArray which is associated to nothing on the server
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 a single success entry in th map
- I don't receive a ProtocolException message with a map of 1 error.
Since the EpcExternalPartReference does not exist in the open etp server, I would expect to receive a protocol exception ENOT_FOUND as a response. Indeed, the PutDataArrays message clearly uses an URI which does correspond to nothing on the server.
PS : I checked and I can get the DataArray back fyi.
PS2 : this bug is clearly not a big problem since it allows more flexibility than ETP does imho.
Edited by Philippe Verney