User required to manually supply instanceId for new items
Description
On creating a new item, the POST to URL:http://localhost:9130/inventory/items is rejected with HTTP status (422 Unprocessable Entity) and the additional information:
Ok, version 5.0.0 should be released this week I hope.
Mike Taylor May 31, 2017 at 1:05 PM
Thanks, Marc. I will just send "0" or "dummy" or something. No need to do a rush-release – we can take out the dummy code down the line.
Marc Johnson May 31, 2017 at 1:01 PM
It can be any value (I believe even a blank string might be sufficient, nothing in the system uses it at the moment).
It will definitely be completely optional in v5.0.0. I can include a quick change to make it optional in the release that I'm likely to do today (for visible permissions) if that would help, rather than you having to put something in the UI to cater for it?
Mike Taylor May 31, 2017 at 12:56 PM
, yes, please file an issue for this and assign it to me.
, the UI does need to supply an instanceId: shall I have it just use (for example), 0 for every record? Or does it need to be unique, in which case I will generate a UUID?
On creating a new item, the POST to URL:http://localhost:9130/inventory/items is rejected with HTTP status (422 Unprocessable Entity) and the additional information: