zitadel/internal/repository
Tim Möhlmann dfcc26de1e
fix: assign instance ID to aggregate ID when converting from v1 to v2 feature (#7505)
* fix: assign instance ID to aggregate ID when converting from v1 to v2 feature

This change fixes a mismatch between v1 and v2 aggregate IDs for instance feature events.
The old v1 used a random aggregate ID, while v2 uses the instance ID as aggregate ID.
The adapter was not correctly mapping, which resulted in the projections.instance_features table being filled with wrong instance IDs.

Closes #7501

* fix unit test
2024-03-05 16:12:49 +01:00
..
action fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
asset refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
authrequest fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
deviceauth fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
execution feat: add executions for actions v2 (#7433) 2024-02-26 12:49:43 +02:00
feature fix: assign instance ID to aggregate ID when converting from v1 to v2 feature (#7505) 2024-03-05 16:12:49 +01:00
flow refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
idp refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
idpconfig refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
idpintent fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
instance feat: impersonation roles (#7442) 2024-02-28 10:21:11 +00:00
keypair fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
limits fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
member refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
metadata refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
milestone fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
oidcsession fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
org fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
policy refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
project fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
pseudo feat: push telemetry (#6027) 2023-07-06 08:38:13 +02:00
quota fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
restrictions fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
session fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
settings refactor: rename package errors to zerrors (#7039) 2023-12-08 15:30:55 +01:00
target feat: actions v2 execution targets command side (#7384) 2024-02-15 05:39:10 +00:00
user fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00
usergrant fix(setup): init projections (#7194) 2024-01-25 17:28:20 +01:00