[ https://jira.fiware.org/browse/HELP-13290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Fernando Lopez reassigned HELP-13290:
-------------------------------------
Assignee: Jose Gato Luis
> [fiware-stackoverflow] Device is created when sending measures to non existing device - IoTAgent-UL
> ---------------------------------------------------------------------------------------------------
>
> Key: HELP-13290
> URL: https://jira.fiware.org/browse/HELP-13290
> Project: Help-Desk
> Issue Type: Monitor
> Components: FIWARE-TECH-HELP
> Reporter: Backlog Manager
> Assignee: Jose Gato Luis
> Labels: fiware, fiware-orion
>
> Created question in FIWARE Q/A platform on 13-07-2017 at 18:07
> {color: red}Please, ANSWER this question AT{color} https://stackoverflow.com/questions/45086461/device-is-created-when-sending-measures-to-non-existing-device-iotagent-ul
> +Question:+
> Device is created when sending measures to non existing device - IoTAgent-UL
> +Description:+
> We've discovered a bug in the IoT Agent Ultralight.
> If we try to send a measure to a non existing device, we'll get a 404 - DEVICE_NOT_FOUND error but at the same time a device without any attribute will be created in IoTA's and Orion CB's database.
> When I say a device without any attribute I refer to the following:
> {
> "device_id": "test",
> "service": "MyService",
> "service_path": "/MyServicePath",
> "entity_name": "MyEntity:test",
> "entity_type": "MyEntity",
> "attributes": [],
> "lazy": [],
> "commands": [],
> "static_attributes": []
> }
> This is a very important bug, because it's really simple to create as many devices as someone wants and that could eat our database space.
> Does someone know how to solve it?
--
This message was sent by Atlassian JIRA
(v6.4.1#64016)
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy