Hi,
See: https://support.abp.io/QA/Questions/4441#answer-27f5a8fa-264a-a9c2-66c3-3a0919e17aad
The problem has been fixed, and it will include in the next patch.
You ticket refunded.
Hi, you can try :
var builder = Builders<IdentityUser>.Filter;
var query = builder.Eq("stripeId", Value);
var users = await (await userRepository.GetCollectionAsync()).Find(query).ToListAsync();
To use
GetCollectionAsync
method in the app service or domain, you need to reference the Volo.Abp.MongoDB package
More example: https://www.mongodb.com/docs/drivers/csharp/current/fundamentals/crud/read-operations/retrieve/#example
Hi,
Sorry, but it is no different, you can use the repository in the app service to get the data and store data. I don't know what's blocked you. Could you let me know? thanks.
There are several places in the UI that uses first name. So I am assuming that I would have to override all of those components with new ones as in https://docs.abp.io/en/abp/latest/UI/Blazor/Customization-Overriding-Components?UI=BlazorServer ABP has excellent localization support. But I believe not using FullName might be a miss. The concept of surname and name changes quite a bit depending on local. Certain parts of Europe, Latin America, East Asia, etc don't use the standard name, surname format.
Yes, you need to override the pages, ABP cannot cover all situations, but you can customize it according to your own needs
Also is there anyway to query ExtraProperties using the default repositories? I am assuming I would have to create a MyIdentityUserRepository that inherits from IdentityUserRepository and override the GetListAsync method or Add my own GetListWithExtraAsync and include stripeId and fullName, for example.
No, you don't need it. it is already included in the entity data
//GET AN EXTRA PROPERTY
var user = await _identityUserRepository.GetAsync(userId);
return user.GetProperty<string>("Title");
Hi,
Can you share a project that can reproduce the problem? shiwei.liang@volosoft.com I will check it. thanks.
Hi,
It's a bug,we will fix it in the next version.
You can download the Lepton X Pro module and replace packages reference with local reference.
Find MainHeader
and MainMenu
components and update the Dispose method:
public void Dispose()
{
if (Menu != null)
{
Menu.StateChanged -= RefreshMenu;
}
}
public void Dispose()
{
if (Menu != null)
{
Menu.StateChanged -= Menu_StateChanged;
}
AuthenticationStateProvider.AuthenticationStateChanged -= AuthenticationStateProviderAuthenticationStateChanged;
}
Add AccountController
to the Web project
public class AccountController : AbpAccountImpersonationChallengeAccountController
{
}
Hi,
You can try to add Volo.Abp.Account.Pro.Public.Web.Impersonation
package to the Web project.
And add typeof(AbpAccountPublicWebImpersonationModule)
to the Web module class.
Did you try running it without it being on the debugger
Yes, I tried