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

FIWARE.Request.Tech.Data.OrionContextBroker.value mismatch

    Details

    • Type: extRequest
    • Status: Closed
    • Priority: Major
    • Resolution: Done
    • Fix Version/s: 2021
    • Component/s: FIWARE-TECH-HELP
    • Labels:
      None

      Description

      Hi,

      I am sending a POST request to
      http://orion.lab.fiware.org:1026/v2/entities/85/attrs?type=UrbansenseLocation
      in order to update atime and bundle attributes:

      {
      "atime":

      { "type":"Number", "value":1476370651}

      ,
      "bundle":

      { "type":"Number", "value":1}

      }

      and a GET request to the same entity receives the following response:

      {
      "id": "85",
      "type": "UrbansenseLocation",
      "atime": {
      "type": "Number",
      "value": 1476370000,
      "metadata": {}
      },
      "bundle": {
      "type": "Number",
      "value": 1,
      "metadata": {}
      },
      //some other attributes
      }

      Please, note the mismatch on the value field of the atime attribute!!!
      Why is such thing happening?

      Thanks,


      Yunior Luis Rojo,

      Researcher at Instituto de Telecomunicações
      Faculdade de Engenharia, Universidade do Porto.

      Since January 1st, old domains won't be supported and messages sent to any domain different to @lists.fiware.org will be lost.
      Please, send your messages using the new domain (Fiware-lab-help@lists.fiware.org) instead of the old one.
      _______________________________________________
      Fiware-lab-help mailing list
      Fiware-lab-help@lists.fiware.org
      https://lists.fiware.org/listinfo/fiware-lab-help
      [Created via e-mail received from: Yunior <jrluis@fe.up.pt>]

        Activity

        Hide
        marcocipriani Marco Cipriani added a comment -

        Dear User,
        I've just forwarded your request to the Orion component support team.
        We'll get back to you soon.

        Best regards
        Marco

        Show
        marcocipriani Marco Cipriani added a comment - Dear User, I've just forwarded your request to the Orion component support team. We'll get back to you soon. Best regards Marco
        Hide
        fermin Fermín Galán added a comment -

        This has been also posted at https://github.com/telefonicaid/fiware-orion/issues/2603. The discussion will follow at github.

        Show
        fermin Fermín Galán added a comment - This has been also posted at https://github.com/telefonicaid/fiware-orion/issues/2603 . The discussion will follow at github.
        Show
        fermin Fermín Galán added a comment - Also posted at SOF: http://stackoverflow.com/questions/40025243/json-timestamp-wrong-on-fiware-orion-context-broker-global-instance . Answered.

          People

          • Assignee:
            fermin Fermín Galán
            Reporter:
            fw.ext.user FW External User
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: