Starts in:
1 DAY
23 HRS
4 MIN
25 SEC
Starts in:
1 D
23 H
4 M
25 S

Activities of "saad.aldulaijan"

ABP-LIC-0013 - License exception: ABP-LIC-0023: An error occured while calling the license server! The input is not a valid Base-64 string as it contains a non-base 64 character, more than two padding characters, or an illegal character among the padding characters.

I want to get the client id from this url

https://localhost:44322/Account/Login?ReturnUrl=%2Fconnect%2Fauthorize%3Fresponse_type%3Dcode%26client_id%3DAngular%26state%3DcU1ENEI5VVVhYU1jVzFhWlIyd0F4WkRoR3pMRGxJYng1dkNBQWJXdkFYfkVu%26redirect_uri%3Dhttp%253A%252F%252Flocalhost%253A4200%26scope%3Doffline_access%2520openid%2520AccountService%2520IdentityService%2520AdministrationService%2520SaasService%2520ProductService%2520NotificationService%2520FileManagement%26code_challenge%3DBpwCGKKxj8134IpedZFvbQgHGMXkTjugkkVFdwly88I%26code_challenge_method%3DS256%26nonce%3DcU1ENEI5VVVhYU1jVzFhWlIyd0F4WkRoR3pMRGxJYng1dkNBQWJXdkFYfkVu%26culture%3Den%26ui-culture%3Den

how to achieve this?

is there any service help me do that?

  • ABP Framework version: v7.3.3
  • UI Type: Angular
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I want to achieve the following:

I have multiple apps connected to one AuthServer, this AuthServer has nothing customized at all.

I want to replace the default login/registration pages (razor pages) to be one angular app for all clients.

Is that possible? if it is, how can i do it?

  • ABP Framework version: v7.2.2
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace: AbpException: Setting value for 'Abp.Mailing.Smtp.Password' is null or empty!
  • Steps to reproduce the issue:"

I am using Microservices template, I am trying to send confirmation email to the user after registration from AuthServer:

appsettings.json

Commented nullable email sender:

Error:

Database:

  • ABP Framework version: v7.1.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am adding ExtraProperties to OpenIddictApplication entity, however, when I retrieve it, it is null always.

My AppService to update the property named "ServiceName" it is working fine.

public async Task<string> UpdateAsync(Guid applicationId, string serviceName)
    {
        var application = await _applicationRepo.GetAsync(x => x.Id == applicationId);
        application.SetServiceName(serviceName);
        await _applicationRepo.UpdateAsync(application);

        return serviceName;
    }

when i fetch in angular

this.applicationService.getList(input).subscribe(res => {
      console.log(res.items);
    })

I got this:

I added this block of code on Domain.Shared project:

private static void ConfigureExtraProperties()    {        
    ObjectExtensionManager.Instance.Modules()
        .ConfigureOpenIddict(openIddict => {                
            openIddict.ConfigureApplication(app => {
                app.AddOrUpdateProperty<string>("ServiceName");                
                });            
            });    
}

I got this:

What am I missing ?

  • ABP Framework version: v7.0.3
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am using FileManagementModule; and I want to allow anonymous uploads, how can i achieve this.

I tried overriding the following and it didn't work:

I tried to override the controller:

    [ExposeServices(typeof(FileDescriptorController))]
    [AllowAnonymous]
    public class MyFileDescriptorController : FileDescriptorController
    {
        public MyFileDescriptorController(IFileDescriptorAppService fileDescriptorAppService) : base(fileDescriptorAppService)
        {
        }


        [AllowAnonymous]
        [HttpPost]
        [Route("upload")]
        public override Task<FileDescriptorDto> CreateAsync(Guid? directoryId, CreateFileInputWithStream inputWithStream)
        {
            return FileDescriptorAppService.CreateAsync(directoryId, inputWithStream);
        }

    }

overriding the app service


[Dependency(ReplaceServices = true)]
[ExposeServices(typeof(IFileDescriptorAppService), typeof(FileDescriptorAppService), typeof(MyFileDescriptorAppService))]

[AllowAnonymous]
public class MyFileDescriptorAppService : FileDescriptorAppService
{
    public MyFileDescriptorAppService(IFileManager fileManager,
        IFileDescriptorRepository fileDescriptorRepository,
        IBlobContainer<FileManagementContainer> blobContainer,
        IDistributedCache<FileDownloadTokenCacheItem, string> downloadTokenCache)
        : base(fileManager, fileDescriptorRepository, blobContainer, downloadTokenCache)
    {
    }


    [AllowAnonymous]
    public override async Task<FileDescriptorDto> CreateAsync(Guid? directoryId, CreateFileInputWithStream inputWithStream)
    {
        await CheckSizeAsync(inputWithStream.File.ContentLength ?? 0);

        var fileDescriptor = await FileManager.CreateAsync(inputWithStream.Name, inputWithStream.File.ContentType, inputWithStream.File, directoryId, CurrentTenant.Id, overrideExisting: true);

        await CurrentUnitOfWork.SaveChangesAsync();

        fileDescriptor = await FileDescriptorRepository.FindAsync(fileDescriptor.Id);
        inputWithStream.MapExtraPropertiesTo(fileDescriptor);
        await FileDescriptorRepository.UpdateAsync(fileDescriptor);
        return ObjectMapper.Map<FileDescriptor, FileDescriptorDto>(fileDescriptor);

    }
}
  • ABP Framework version: v7.0.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

I am trying to do: abp generate-proxy -m OrderService and it is showing the subjected error message.

I tried with --url , same thing.

I am trying to subscribe from (Core.Notifications) to an event sent by (FirstClientApp), however it is not working These are the steps I have followed:

FirstClientApp:

  1. Package installed : Volo.Abp.EventBus.RabbitMQ

  2. appsettings.json:

  3. In FirstClientApp.HttpApi.Host --> FirstClientAppHttpApiHostModule.cs , I added the following: [DependsOn(typeof(AbpEventBusRabbitMqModule))]

  4. In FirstClient.Application --> ProductsAppService.cs I injected IDistributedEventBus , then used it on CreateAsync method like this:

await _distributedEventBus.PublishAsync(new ProductEto(product.Id, product.Name, product.Description, product.Price, product.FileId));

Core.Notifications

  1. Package installed: Volo.Abp.EventBus.RabbitMQ

  2. appsettings.json

  3. In Core.Notifications.HttpApi.Host --> NotificationsHttpApiHostModule.cs, I added the following: [DependsOn(typeof(AbpEventBusRabbitMqModule))]

  4. I added the following class on Core.Notifications.Application:

Breakpoint never hit.

RabbitMQ:

What am I missing ??

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes / no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How to remove lpx-toolbar-container completely on Angular ?

I tried replaceable component it did not work.

  • ABP Framework version: v6.0.0
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

How can i remove this part, i tried with ReplaceableComponentsService https://docs.abp.io/en/abp/latest/UI/Angular/Component-Replacement , i did not find this component.

Showing 1 to 10 of 12 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06