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

[fiware-stackoverflow] q=modifiedAt or q=modifiedAt>aDate returns an empty array

    Details

      Description

      Created question in FIWARE Q/A platform on 27-10-2023 at 01:10
      Please, ANSWER this question AT https://stackoverflow.com/questions/77371115/q-modifiedat-or-q-modifiedatadate-returns-an-empty-array

      Question:
      q=modifiedAt or q=modifiedAt>aDate returns an empty array

      Description:
      I'm using Orion-LD v1.4.0.
      I have some entities of type Site in the context. My goal is to retrieve all context entities of type Site that where modified after a given date. But "q=modifiedAt" seems not to be supported by /ngsi-ld/v1/entities.
      This request does return my entities:

      http://[::1]:1026/ngsi-ld/v1/entities?type=Site

      But this request returns an empty array, whereas it should return them all:

      http://[::1]:1026/ngsi-ld/v1/entities?type=Site&q=modifiedAt

      And this one returns an empty array as well, whereas it should return the ones that have been modified after january, the 1st:

      http://[::1]:1026/ngsi-ld/v1/entities?type=Site&q=modifiedAt>2023-01-01T00:00:00Z

      Any help would be greatly appreciated.

        Activity

        Hide
        backlogmanager Backlog Manager added a comment -

        2023-10-27 05:31|CREATED monitor | # answers= 0, accepted answer= False

        Show
        backlogmanager Backlog Manager added a comment - 2023-10-27 05:31|CREATED monitor | # answers= 0, accepted answer= False
        Hide
        kzangeli Ken Zangelin added a comment -

        Answered on SOF.
        It's an old bug, it has already been fixed.

        Show
        kzangeli Ken Zangelin added a comment - Answered on SOF. It's an old bug, it has already been fixed.

          People

          • Assignee:
            kzangeli Ken Zangelin
            Reporter:
            backlogmanager Backlog Manager
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: