Strategy with multiple versions causes exception during save
Resolved 💬 1 comment Opened Sep 6, 2025 by DerivativesDev Closed Sep 7, 2025
Description
Saving a strategy that has more than 1 version is causing an exception during the save operation.
Steps to Reproduce
- Create a strategy
- Create a second version of the strategy
- Attempt to save the strategy
- Exception occurs
Expected Behavior
Strategy with multiple versions should save successfully without throwing exceptions.
Actual Behavior
Exception is thrown during save operation (specific exception details to be added when reproduced).
Environment
- .NET 9
- Entity Framework Core
- Clean Architecture with CQRS pattern
Additional Context
This issue emerged after recent refactoring of Strategy entity navigation properties from private fields to proper EF navigation properties. The issue might be related to:
- EF Core change tracking of navigation properties
- Strategy version management logic
- Entity configuration for multiple versions
Priority
High - Blocks strategy versioning functionality
Labels
- bug
- entity-framework
- strategy-management
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗