I will try reproduce your problem and can you provide the ipams-global-styles.css
content?
Hi, Please see https://github.com/abpframework/abp/issues/3766.
Are you talk about foreign key?
Please see https://github.com/abpframework/abp/issues/3959
Could you explain the problem in detail?
Please following : https://github.com/abpframework/abp/issues/4089 and https://github.com/abpframework/abp/issues/4089. Available in the next version.
Update Volo.Abp.Commercial.SuiteTemplates to 2.8.0.
Note: Please do not update abp suite unless you update your solution. Abp suite may not be compatible with your old version.
Try:
await this._accountAppService.SendPasswordResetCodeAsync(new SendPasswordResetCodeDto { Email=identityUser.Email, "Angular" });
Hi @roop.yekollu@atlasair.com
I use the project you provided, but can't reproduce this problem. Just one thing, you use automapper map object, but you did not initialize the collection in the parameterless constructor.null reference exception will be thrown when adding.
In addition, some boundary condition checks are missing in your code, like:
private async Task<bool> AddToSubEventsAsync(Alert alert, IEnumerable<string> subEvents)
{
Check.NotNull(alert, nameof(alert));
Check.NotNull(subEvents, nameof(subEvents));
var EventTypesMasterList = await _eventTypeRepository.GetListAsync();
foreach (var subEvent in subEvents)
{
var eventType = EventTypesMasterList.FirstOrDefault(e => e.Name == subEvent);
alert.AddSubEvent(eventType.Id); // If eventType object is null, you will get null reference exception.
}
return true;
}
Hi @roop.yekollu@atlasair.com
I suggest you delete the repository on github, because your commercial license is included in the project.
The cause of the error is not because of the AlertSubEventType entity, I think your code has wrong.
If you want to implement soft delete for AlertSubEventType entity, you should use b.HasIndex(ae => new { ae.EventTypeId, ae.AlertId }).HasFilter("[IsDeleted] != 1");
see https://github.com/abpframework/abp/issues/1181.
If you can provide a sample project that reproduce this problem, I can quickly help you find the problem.