You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the update is "successful" but it corrupts the projections (turns it into a "JS" projection):
[ 1,20,18:22:36.724,INF] Updating '"$by_correlation_id"' projection source to '"{\"correlationIdProperty\":\"subject\"}"' (Requested type is: '"JS"')
[ 1,20,18:22:36.773,ERR] The '"$by_correlation_id"' projection faulted due to '"Line 1: Unexpected token :"'
Expected behavior
The projection not to get corrupted/turned into a JS projection or to have the opportunity to select the "requested type" via GRPC.
Actual behavior
The projection is turned to JS.
EventStore details
EventStore server version: 22.10.1.0
Operating system: Win 11 x64
EventStore client version (if applicable): EventStore.Client.ProjectionManagement, Version=22.0.0.0
The text was updated successfully, but these errors were encountered:
JBBianchi
changed the title
Corrupted built-in projection $by_correlation_id after update
Updating built-in projection $by_correlation_id corrupts it
Feb 25, 2023
At the moment, the gRPC clients do not support updating system projections
That being said, the server should not have accepted the update to the system projection's handler type.
I've created an issue for that on the server here: EventStore/EventStore#3751
I'm going to leave this issue open until the functionality to update a system projection is available in the dotnet gRPC client
When updating the built-in projection
$by_correlation_id
via the UI with the value:It works, and the logs show:
When using the GRPC method
EventStoreProjectionManagementClient.UpdateAsync
the update is "successful" but it corrupts the projections (turns it into a "JS" projection):
To Reproduce
Steps to reproduce the behavior:
$by_correlation_id
via GRPCExpected behavior
The projection not to get corrupted/turned into a JS projection or to have the opportunity to select the "requested type" via GRPC.
Actual behavior
The projection is turned to JS.
EventStore details
EventStore server version: 22.10.1.0
Operating system: Win 11 x64
EventStore client version (if applicable): EventStore.Client.ProjectionManagement, Version=22.0.0.0
The text was updated successfully, but these errors were encountered: