Activities of "maliming"

Can you share the full error stack?

hi

This week.

We'll check the second one (Language problem) and fix it in next patch as well.

This will be fixed in next patch also.

hi I found the code:


public class CustomObjectDataSourceWizardTypeProvider : IObjectDataSourceWizardTypeProvider
{
    public IEnumerable<Type> GetAvailableTypes(string context)
    {
        return new[] {
            typeof(ReportingDataSourceServiceDecorator)
        };
    }
}


[ExposeServices(typeof(ReportingDataSourceServiceDecorator))]
public class ReportingDataSourceServiceDecorator : IReportingDataSourceService, ITransientDependency
{
    private readonly IScopedServiceProvider<ReportingDataSourceService> _scopedServiceProvider;

    public ReportingDataSourceServiceDecorator(IScopedServiceProvider<ReportingDataSourceService> scopedServiceProvider)
    {
        _scopedServiceProvider = scopedServiceProvider;
    }

    public IList<BookDto> GetAllBooks()
    {
        using (var scopeServer = _scopedServiceProvider.GetService())
        {
            return scopeServer.Service.GetAllBooks();
        }
    }
}

public class ReportingDataSourceService : ApplicationService, IReportingDataSourceService
{
    private readonly IBookCustomRepository _bookRepo;

    public ReportingDataSourceService()
    {
        // We use this parameterless constructor in the Data Source Wizard only, and not for the actual instantiation of the repository object.
        throw new NotSupportedException();
    }
    public ReportingDataSourceService(IBookCustomRepository bookRepo)
    {
        _bookRepo = bookRepo;
    }

    [UnitOfWork]
    public virtual IList<BookDto> GetAllBooks()
    {
        var query = _bookRepo.GetAllBooksAsync();
        return ObjectMapper.Map<IList<Book>, IList<BookDto>>(
            query.Result.ToList()
        );
    }
}


public interface IScopedServiceProvider<TService>
{
    ServiceScopeScope<TService> GetService();
}

public class ScopedServiceProvider<TService> : IScopedServiceProvider<TService>
{
    private readonly IServiceProvider _provider;

    public ScopedServiceProvider(IServiceProvider provider)
    {
        this._provider = provider ?? throw new ArgumentNullException(nameof(provider));
    }

    public ServiceScopeScope<TService> GetService()
    {
        var scope = _provider.CreateScope();
        return new ServiceScopeScope<TService>(scope);
    }
}

public class ServiceScopeScope<TService> : IDisposable
{
    private readonly IServiceScope _scope;

    public ServiceScopeScope(IServiceScope scope)
    {
        _scope = scope ?? throw new ArgumentNullException(nameof(scope));

        Service = scope.ServiceProvider.GetRequiredService<TService>();
    }

    public TService Service { get; }

    public void Dispose()
    {
        _scope.Dispose();
    }
}

hi

Can you check the logs of Authserver?

Has it issued a token? Is the token forwarded by the gateway?

What do I use to remove these grants/permissions from the tenant?

You can refer to RoleDeletedEventHandler

https://github.com/abpframework/abp/blob/48c52625f4c4df007f04d5ac6368b07411aa7521/modules/identity/src/Volo.Abp.PermissionManagement.Domain.Identity/Volo/Abp/PermissionManagement/Identity/RoleDeletedEventHandler.cs#L24

hi

Please setup your RabbitMQ service.

https://docs.abp.io/en/commercial/latest/startup-templates/microservice/index

I don't know much about Azure, but I can confirm that its current response speed is slow for your apps.

You can find the reason in Azure

hi

Can you try to using the brand new 4.4 template project?

Or refresh the page maybe help.

hi

Can I check it remotely?

https://zoom.us/j/91410409347?pwd=N2Y1M3JPYjdWRGxXQkwzUUpPVkdGUT09

Showing 7641 to 7650 of 8753 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 26, 2024, 06:07