I am using the LocalDistributedEventBus which is default.
Yes, of course. When I configure and map the object which is created by me like document you sent, I can subscribe the event. Like I mentioned, I couldn't subscribe events related with Identity such as creating a new user, creating a new role. Also, I can subscribe these events on Single (Unified) Application Scenario, but not on Separated Deployment & Databases Scenario. I realized above code block, somehow, didn't represent the handler which I created.
public class TestUserHandler : IDistributedEventHandler<EntityCreatedEto<UserEto>>, ITransientDependency
{
private readonly ICurrentTenant _currentTenant;
private readonly ILogger<TestUserHandler> _logger;
public TestUserHandler( ICurrentTenant currentTenant, ILogger<TestUserHandler> logger)
{
_currentTenant = currentTenant;
_logger = logger;
}
public virtual async Task HandleEventAsync(EntityCreatedEto<UserEto> eventData)
{
}
}
Thanks, it works.
ABP Framework version: v5.1.1 UI type: MVC DB provider: EF Core Module Template: yes Steps to reproduce the issue:"
How can I resolve this?
Have you tried on Web.Unified which is Single (Unified) Application Scenario? When I runned identity, web.host and http.host separately (which is Separated Deployment & Databases Scenario), I got that problem. Web.Unified works properly.
Hello ABP,
I have created a new solution with version of 4.4.3 like described in your documentation.
abp new Acme.IssueManagement -t module-pro -v 4.4.3
I have used CurrentUser.UserName on SampleAppService which comes from default template for taking the username. I saw the username was null. Other values were fine.
If I try on developer tools by using "abp.currentUser", I can see the username.
I have faced this issue on my application and I wanted to be sure whether the cause of the problem was related with me or not. Is that kind a bug or am I missing somethings?
Thanks.
Aren't there any informations?
Hello Abp,
I want to add a menu item to navigation menu when a new entity is inserted from create modal. I have searched from documents but I could not find any information about this operation. Do you have any suggestion about that?
Hello,
I notice that when I change the language to German, I cannot see any value in graphs which are set defaultly. We use three languages (Turkish, English, German) in our application. Others haven't got such a problem. Also I checked the default project created by Abp suite to try to figure out if the problem was our fault or not. It has same problem, too. After trying to change the date from date range input, I figured out the dates are wrong initially. While taking the current date initially, I see past date instead of current date. When I change the dates, I can get the correct values. Do you have any advice to get current date or is it a bug to be fixed by ABP?