Incorrect protocol exception message when putting an incorrect dataspace URI
Hi I have tried to put a dataspace to open-etp-server using these attributes
Energistics::Etp::v12::Datatypes::Object::Dataspace dataspace;
dataspace.uri = "eml:///dataspace('testF2I/450dce67-0697-4bab-923f-456353d173ad)";
dataspace.path = "testF2I/450dce67-0697-4bab-923f-456353d173ad";
dataspace.storeCreated = 0;
dataspace.storeLastWrite = 0;
As you can notice, I forgot the ending simple quote in dataspace.uri which should raise a protocol exception on server side which it does. But here is what the server returns
Message Header received :
protocol : 24
type : 1000
id : 3
correlation id : 4
flags : 2
EXCEPTION received for message_id 4
One or more error code :
*************************************************
Resource non received :
key : 0
message : Space URI uses all-zero UUID
code : 5
*************************************************
I think the error code should be 9 (i.e. EINVALID_URI) instead of 5 (EINVALID_ARGUMENT) according to the specs and the error message should not be related to something about all-zero UUID since I don't send all-zero UUID at all.
Ideally, the error message should show the erroneous uri for the client to check what has been received by the server.
I think it may be related to #18