0
brike.kuo@authme.com created
- ABP Framework version: v5.3.0
- UI type: Angular
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): microservice
- Exception message and stack trace: "The instance of entity type 'ClientSecret' cannot be tracked because another instance with the same key value for {'ClientId', 'Type', 'Value'} is already being tracked. When attaching existing entities, ensure that only one entity instance with a given key value is attached. Consider using 'DbContextOptionsBuilder.EnableSensitiveDataLogging' to see the conflicting key values."
- Steps to reproduce the issue:
- add secret to client and save it
- edit client => update something(ex. description) except secret => save
- get exception
I think it's because client secrets map to "****" from 5.3.0, and UpdateClientSecrets find exist secret by value but secrets from dto will be "*****".
Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)