Altinn / altinn-events

Altinn platform microservice for handling events
MIT License
1 stars 2 forks source link

More than one row returned by a subquery used as an expression #479

Closed SandGrainOne closed 4 months ago

SandGrainOne commented 4 months ago

Description of the bug

We get the this error if somone happen to use the id of a duplicated event as an after parameter when doing event search.

Steps To Reproduce

This can currently be tested in TT02 with the current event id: 3d7ff126-890c-4e30-953b-4b736c6591ec

  1. Use postman or a similar tool to perform a request like this: https://platform.tt02.altinn.no/events/api/v1/events?resource=urn:altinn:resource:altinn-broker-test-resource-1&after=3d7ff126-890c-4e30-953b-4b736c6591ec

Change resource id to any resource you have access to or generate an appropriate token using test tools.

Additional Information

No response