AaltoAsia / O-MI

Internet of Things data server implementing Open Messaging Interface and Open Data Format
BSD 4-Clause "Original" or "Old" License
22 stars 13 forks source link

Object not found with read request after writing #8

Closed TK009 closed 6 years ago

TK009 commented 6 years ago

Problem occurs if writing an O-DF Object without any InfoItem or an InfoItem without any value.

The read request returns code 404.

TK009 commented 6 years ago

Workaround: Put at least one InfoItem with any value inside the object in the write request

The reason for the problem is in two parts:

TK009 commented 6 years ago

Should be fixed in 47083bae9fd009a878946237566c223f641d5bb2. Needs a test.