When trying to update some attributes of a non-existing entity using the HTTP PATCH method and the /ngsi-ld/v1/entities/{entityId}/attrs/ URL path, the broker crashes instead returning an HTTP 404 Not found.
Just to clarify, we are not trying to update non-existing entities, but we came across this bug by mistake because we forgot to previously create the entities that we wanted to update.
The bug occurs both in a scenario with 3 federated Orion-LD instances with some entities in all the brokers, and in a single Orion-LD instance without any entity (the request was performed some seconds after the broker started).
When trying to update some attributes of a non-existing entity using the HTTP PATCH method and the
/ngsi-ld/v1/entities/{entityId}/attrs/
URL path, the broker crashes instead returning an HTTP 404 Not found.Just to clarify, we are not trying to update non-existing entities, but we came across this bug by mistake because we forgot to previously create the entities that we wanted to update.
The bug occurs both in a scenario with 3 federated Orion-LD instances with some entities in all the brokers, and in a single Orion-LD instance without any entity (the request was performed some seconds after the broker started).