-
Notifications
You must be signed in to change notification settings - Fork 39
FDP v2 index GET index/entries/{uuid} fails #643
Copy link
Copy link
Closed
Description
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:
FAIRDataPoint/src/main/java/org/fairdatapoint/service/index/entry/IndexEntryService.java
Line 193 in fc751c4
| PageRequest.of(0, PAGE_SIZE, Sort.by(Sort.Direction.DESC, "created"))); |
and here:
FAIRDataPoint/src/main/java/org/fairdatapoint/service/index/event/EventService.java
Line 97 in fc751c4
| PageRequest.of(0, PAGE_SIZE, Sort.by(Sort.Direction.DESC, "created"))); |
(actually the latter method appears to be unused...)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels