Fluxzero 1.179.3
1.179.3 (2026-05-21)
Bug Fixes
fix(modeling): tolerate duplicate member ids during load (
bffb7cc)Do not reject duplicate non-null @EntityId values while traversing existing member lists. Historical event-sourced state may contain duplicates and should still be loadable, especially for loadEntity and replay paths.
When the SDK applies a list or collection member update for an entity id that already exists, replace the existing item instead of appending another duplicate. This preserves idempotent upsert behavior without breaking old state.
Tests run: ./mvnw -q -pl sdk -Dtest='AggregateEntitiesTest,StatefulHandlerTest#duplicateNonNullEntityIdsInStatefulMemberListDoNotBreakLoading' test; ./mvnw -q -pl sdk -Dtest=StatefulHandlerTest,AggregateEntitiesTest test; ./mvnw -q -pl sdk test; git diff --check.