hi
Can you share a test project to reproduce?
I will download and check it.
liming.ma@volosoft.com
Thanks.
Thank you for sharing the solution.
hi
In your current relationship between Order and Location.
Order is Dependent (child) and Location is Principal (parent)
When Order(child) changed. ABP will think Location (parent) needs to be updated.
You can try to change the Location (parent). In this case, Order(child) will not change.
See https://learn.microsoft.com/en-us/ef/core/modeling/relationships/one-to-one#required-one-to-one
hi
You can refer to these documents to implement it, I don't have ready code
https://abp.io/docs/latest/framework/infrastructure/blob-storing https://abp.io/docs/latest/framework/architecture/domain-driven-design/application-services#working-with-streams
You can download the source code of AccountPromodule to check the code of User avatar upload
Thanks.
hi
We use dotnet dev-certs https to generate the pfx file.
dotnet dev-certs https -v -ep openiddict.pfx -p 2005-2D7AA457-5D33-48D6-936F-C48E5EF468ED
hi
It seems your pfx file has a permission problem
Microsoft.IdentityModel.Tokens.SecurityTokenKeyWrapException:
IDX10659: UnwrapKey failed, exception from cryptographic operation:
System.Security.Cryptography.CryptographicException: Access denied.
I generated the new openiddict.pfx with same passPhrase and deployed the build.
How did you generate the pfx file?
hi
Please set log level to Debug and re-share the logs.txt
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("OpenIddict", LogEventLevel.Verbose)
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
Thanks.
hi
Can you share full Logs.txt file with liming.ma@volosoft.com?
Thanks.