hi
1.
Please share the code of HQSOFT.eBiz.CoreBackend.AuditLogging.ExtendedAuditLogContributor class. there is a NullReferenceException
2.
Please set log level to Debug and re-share the logs.
public class Program
{
public async static Task<int> Main(string[] args)
{
Log.Logger = new LoggerConfiguration()
.MinimumLevel.Debug()
.MinimumLevel.Override("Microsoft.EntityFrameworkCore", LogEventLevel.Warning)
.Enrich.FromLogContext()
.WriteTo.Async(c => c.File("Logs/logs.txt"))
.WriteTo.Async(c => c.Console())
.CreateLogger();
Thanks.
hi
You can create a Domain Service, move your code into it, and then call it in the Application service and your job class.
hi
What UI type of this page?
MVC or angular?
If it is angular . You can try to override the AuthWrapperComponent component
Failed to load swagger UI after creating new project with chat module.
This will be fixed in the next patch version. Sorry for that.
https://github.com/abpframework/abp/pull/20428
Yes, I will ask our suite team.
hi
The EmailAddress is required for TeamInviteUpdateDto
[Required]
[EmailAddress]
[StringLength(TeamInviteConsts.EmailAddressMaxLength)]
public string EmailAddress { get; set; } = null!;
[Fact]
public async Task UpdateAsync()
{
// Arrange
var input = new TeamInviteUpdateDto()
{
ExpirationDate = new DateTime(2016, 1, 15),
IsOwner = true,
IsBilling = true,
Accepted = true
};
// Act
var serviceResult = await _teamInvitesAppService.UpdateAsync(1, input);
// Assert
var result = await _teamInviteRepository.FindAsync(c => c.Id == serviceResult.Id);
result.ShouldNotBe(null);
result.ExpirationDate.ShouldBe(new DateTime(2016, 1, 15));
result.IsOwner.ShouldBe(true);
result.IsBilling.ShouldBe(true);
result.Accepted.ShouldBe(true);
}
hi
Please try this.
[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(UserManagement))]
public class MyUserManagement : UserManagement
{
protected async override Task AddClaimAsync()
{
var claim = ClaimsModel.AllClaims.FirstOrDefault(c => c.Name == SelectedClaimType);
if (claim == null)
{
return;
}
if (claim.Required && (claim.ValueType == IdentityClaimValueType.String && string.IsNullOrWhiteSpace(SelectedClaimValueText)))
{
await Message.Info(L["ClaimValueCanNotBeBlank"]);
return;
}
if (SelectedClaimValueText.IsNullOrWhiteSpace())
{
await Message.Info(L["ClaimValueIsInvalid", claim.Name]);
return;
}
if(!SelectedClaimValueText.IsNullOrWhiteSpace() && !claim.Regex.IsNullOrWhiteSpace() && !Regex.IsMatch(SelectedClaimValueText, claim.Regex))
{
await Message.Info(L["ClaimValueIsInvalid", claim.Name]);
return;
}
ClaimsModel.OwnedClaims.Add(new IdentityUserClaimViewModel
{
ClaimType = SelectedClaimType,
ClaimValueText = SelectedClaimValueText,
ClaimValueNumeric = SelectedClaimValueNumeric,
ClaimValueDate = SelectedClaimValueDate,
ClaimValueBool = SelectedClaimValueBool
});
}
}
hi
What's your lepton package version?
abp&volo 8.2.1, then leptonx should use 3.2.1
hi
Please share your project to liming.ma@volosoft.com via https://wetransfer.com/
Thanks