Skip to content

FDP v2 index GET index/entries/{uuid} fails #643

@dennisvang

Description

@dennisvang

GET requests to index/entries/{uuid} fail as follows:

2025-03-05 11:11:29,972 138653 [http-nio-8080-exec-6] ERROR org.fairdatapoint.api.controller.exception.ExceptionControllerAdvice - Unknown property:
	http://localhost:8080/index/entries/977d24d4-69b4-4e7b-b4a7-d8d1c0c7451f
	No property 'created' found for type 'IndexEvent'; Did you mean 'createdAt'

Looks like wrong property names are used here:

PageRequest.of(0, PAGE_SIZE, Sort.by(Sort.Direction.DESC, "created")));

and here:

PageRequest.of(0, PAGE_SIZE, Sort.by(Sort.Direction.DESC, "created")));

(actually the latter method appears to be unused...)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions