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

FIWARE.Question.Tech.Data.OrionContextBroker.Deleting entity in ServicePath

    Details

      Description

      Created question in FIWARE Q/A platform on 21-04-2015 at 03:04
      Please, ANSWER this question AT http://stackoverflow.com/questions/29761530/deleting-entity-in-a-fiware-servicepath-deletes-entities-with-the-same-id-in-su

      Question:
      Deleting entity in a Fiware-ServicePath, deletes entities with the same id in subpaths

      Description:
      Should this be normal? I've got a Fiware-ServicePath:

      /user/home/room

      I've set an entity with an id "table1" under path /user/home and under /user/home/room. When trying to delete "table1" id

      Fiware-ServicePath: /user
      {
      "contextElements": [

      { "type": "table", "isPattern": "false", "id": "table1" }

      ],
      "updateAction": "DELETE"
      }

      under /user, is it normal for the rest of the entities with id "table1" to get deleted (under scopes /user/home and /user/home/room)?

      Also, is there any chance to get the path of an already existing entity, if for example someone forgot it? I am able to receive entities with .* under default path /#, but if an entity is just ONE path under the main, I can't delete it.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-25 09:05|CREATED monitor | # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-25 09:05|CREATED monitor | # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-25 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-25 12:05|UPDATED status: transition Answer| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-25 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-25 15:05|UPDATED status: transition Answered| # answers= 1, accepted answer= True
        Hide
        backlogmanager Backlog Manager added a comment -

        2015-10-25 18:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

        Show
        backlogmanager Backlog Manager added a comment - 2015-10-25 18:05|UPDATED status: transition Finish| # answers= 1, accepted answer= True

          People

          • Assignee:
            leandroguillen Leandro Guillén
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: