Activities of "maliming"

hi

You can find a way to reproduce it. Then I can resolve it.

hi

Please share the logs of http 405.

liming.ma@volosoft.com

Answer

hi

Try to use 2.1.0

<PackageReference Include="Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX" Version="2.1.0" />

Do you have an example of how to write logs into the database by implementing an ILogEventSink or any other way?

hi

I don't have experience with this.

Answer

hi

What's your LeptonX package version?

How can I check your solution? Is it possible to share code?

: )

: )

Answer

hi

Abp uses OpenIddict as an OAuth server.

You can get and refresh the token by its endpoints.

https://www.oauth.com/

hi

Please use using for _currentTenant and ICurrentPrincipalAccessor

using(_currentTenant.Change(eventData.TenantId)) 
{
  var newPrincipal = new ClaimsPrincipal(
    new ClaimsIdentity(
      new Claim[] {
        new Claim(AbpClaimTypes.UserId, eventData.CreatorId.ToString()),
          new Claim(AbpClaimTypes.TenantId, eventData.TenantId.ToString()),
          new Claim(AbpClaimTypes.UserName, "admin")
      }
    )
  );
  
  using(_currentPrincipalAccessor.Change(newPrincipal)) 
  {
    var detail = await _bulkActionDetailRepository.GetAsync(x => x.BulkActionId == eventData.BulkActionId && x.FileDescriptorId == eventData.FileDescriptorId);
    if (detail != null) 
    {
      detail.Status = eventData.Status;
      detail.StatusDetail = eventData.StatusMessage;
      await _bulkActionDetailRepository.UpdateAsync(detail, true);
    }
  }
}

There is no API to get this. You can create your own, or just get a setting from javascript.

https://docs.abp.io/en/abp/latest/UI/AspNetCore/JavaScript-API/Settings

Showing 7131 to 7140 of 11546 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on December 17, 2025, 07:08
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.