Uploaded image for project: 'Help-Desk'
  1. Help-Desk
  2. HELP-13290

[fiware-stackoverflow] Device is created when sending measures to non existing device - IoTAgent-UL

    Details

      Description

      Created question in FIWARE Q/A platform on 13-07-2017 at 18:07
      Please, ANSWER this question AT 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?

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open In Progress In Progress
        251d 18h 16m 1 Backlog Manager 21/Sep/18 3:06 PM
        In Progress In Progress Answered Answered
        2h 59m 1 Backlog Manager 21/Sep/18 6:06 PM
        Answered Answered Closed Closed
        102d 22h 8m 1 Jose Gato Luis 02/Jan/19 3:14 PM
        fla Fernando Lopez made changes -
        Fix Version/s 2021 [ 12600 ]
        josegato Jose Gato Luis made changes -
        Resolution Done [ 10000 ]
        Status Answered [ 10104 ] Closed [ 6 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-21 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-21 18:06|UPDATED status: transition Answered| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status In Progress [ 3 ] Answered [ 10104 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-09-21 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-09-21 15:06|UPDATED status: transition Answer| # answers= 1, accepted answer= False
        backlogmanager Backlog Manager made changes -
        Status Open [ 1 ] In Progress [ 3 ]
        fla Fernando Lopez made changes -
        HD-Enabler IDAS [ 10884 ]
        HD-Chapter IoT [ 10839 ]
        fla Fernando Lopez made changes -
        Assignee Jose Gato Luis [ josegato ]
        backlogmanager Backlog Manager made changes -
        Field Original Value New Value
        Component/s FIWARE-TECH-HELP [ 10278 ]
        Hide
        backlogmanager Backlog Manager added a comment -

        2018-01-12 19:49|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2018-01-12 19:49|CREATED monitor | # answers= 0, accepted answer= False
        backlogmanager Backlog Manager created issue -

          People

          • Assignee:
            josegato Jose Gato Luis
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: