Activities of "maliming"

hi

Can you share the console output of dotnet run command?

I think the debug logs will have a license warning.

Thanks.

Answer

hi

Can you try code below:

using System.Collections.Generic;
using System.Linq;
using Riok.Mapperly.Abstractions;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Mapperly;
using Volo.Abp.ObjectMapping;
using Volo.Forms.Choices;
using Volo.Forms.Forms;
using Volo.Forms.Questions;
using Volo.Forms.Questions.ChoosableItems;

namespace DefaultNamespace;

public class MyFormWithQuestionsToFormWithDetailsDto : IObjectMapper<FormWithQuestions, FormWithDetailsDto>, ITransientDependency
{
    private MyFormWithQuestionsToFormWithDetailsDtoMapper _mapper;

    public MyFormWithQuestionsToFormWithDetailsDto(MyFormWithQuestionsToFormWithDetailsDtoMapper mapper)
    {
        _mapper = mapper;
    }

    public FormWithDetailsDto Map(FormWithQuestions source)
    {
        var dto = _mapper.Map(source);
        _mapper.AfterMap(source, dto);
        return dto;
    }

    public FormWithDetailsDto Map(FormWithQuestions source, FormWithDetailsDto destination)
    {
        _mapper.Map(source, destination);
        _mapper.AfterMap(source, destination);
        return destination;
    }
}

[Mapper(RequiredMappingStrategy = RequiredMappingStrategy.Target)]
public partial class MyFormWithQuestionsToFormWithDetailsDtoMapper : MapperBase<FormWithQuestions, FormWithDetailsDto>
{
    public override partial FormWithDetailsDto Map(FormWithQuestions source);

    public override partial void Map(FormWithQuestions source, FormWithDetailsDto destination);

    public partial QuestionDto Map(QuestionBase source);
    public partial List<QuestionDto> Map(IEnumerable<QuestionBase> source);
    public partial ChoiceDto Map(Choice source);
    public partial List<ChoiceDto> Map(IEnumerable<Choice> source);

    public override void AfterMap(FormWithQuestions source, FormWithDetailsDto destination)
    {
        destination.Description = source.Form.Description;
        destination.Title = source.Form.Title;
        destination.Id = source.Form.Id;
        destination.CreationTime = source.Form.CreationTime;
        destination.TenantId = source.Form.TenantId;
        destination.DeleterId = source.Form.DeleterId;
        destination.CreatorId = source.Form.CreatorId;
        destination.DeletionTime = source.Form.DeletionTime;
        destination.IsDeleted = source.Form.IsDeleted;
        destination.LastModificationTime = source.Form.LastModificationTime;
        destination.LastModifierId = source.Form.LastModifierId;
        destination.IsQuiz = source.Form.IsQuiz;
        destination.IsCollectingEmail = source.Form.IsCollectingEmail;
        destination.CanEditResponse = source.Form.CanEditResponse;
        destination.IsAcceptingResponses = source.Form.IsAcceptingResponses;
        destination.HasLimitOneResponsePerUser = source.Form.HasLimitOneResponsePerUser;
        destination.RequiresLogin = source.Form.RequiresLogin;

        foreach (var question in destination.Questions)
        {
            var sourceQuestion = source.Questions.FirstOrDefault(q => q.Id == question.Id);
            if (sourceQuestion == null)
            {
                continue;
            }
            question.IsRequired = (sourceQuestion as IRequired)?.IsRequired ?? false;
            question.HasOtherOption = (sourceQuestion as IHasOtherOption)?.HasOtherOption ?? false;
            question.Choices = Map((sourceQuestion as IChoosable)?.GetChoices().OrderBy(t => t.Index).ToList()) ?? [];
            question.QuestionType = sourceQuestion.GetQuestionType();
        }
    }
}

hi

I changed some code in https://github.com/franciscosl-fnet/abp-app-domain-based/pull/2

Can you apply them to your project and reproduce the error and share the API logs.txt to liming.ma@volosoft.com

Thanks.

hi

Can you share the debug logs of 44393 website?

Thanks

hi

Please check these places.

This usage scenario is very rare, so it is a standalone package.

It is free and open source.

Thanks.

hi

I just added code to get the current tenant from your Blazor URL and use it.

See https://github.com/maliming/abp-app-domain-based/blob/42f7a49b33e8a27e729fc86cea6287d6239081c5/src/AbpSolution1.Blazor.Client/MyWebAssemblyMultiTenantUrlProvider.cs

And use TokenWildcardIssuerValidator.IssuerValidator

https://github.com/maliming//Owl.TokenWildcardIssuerValidator

Please remove x.TokenValidationParameters.ValidateIssuer = false;, It's test code.

Thanks.

hi

Delete N'AbpSolution1_Blazor and instert it again

INSERT INTO [dbo].[OpenIddictApplications] ([Id], [ApplicationType], [ClientId], [ClientSecret], [ClientType], [ConsentType], [DisplayName], [DisplayNames], [JsonWebKeySet], [Permissions], [PostLogoutRedirectUris], [Properties], [RedirectUris], [Requirements], [Settings], [ClientUri], [LogoUri], [ExtraProperties], [ConcurrencyStamp], [CreationTime], [CreatorId], [LastModificationTime], [LastModifierId], [IsDeleted], [DeleterId], [DeletionTime]) VALUES ('1959479D-4CEA-A392-FA41-3A1E3CB96F9E', N'web', N'AbpSolution1_Blazor', NULL, N'public', N'implicit', N'Blazor Application', NULL, NULL, N'["ept:end_session","gt:authorization_code","rst:code","ept:authorization","ept:token","ept:revocation","ept:introspection","gt:refresh_token","scp:address","scp:email","scp:phone","scp:profile","scp:roles","scp:AbpSolution1"]', N'["https://localhost:44366/authentication/login-callback", "https://tenant.localhost:44366/authentication/logout-callback"]', NULL, N'["https://localhost:44366/authentication/login-callback", "https://tenant.localhost:44366/authentication/login-callback"]', NULL, NULL, N'https://{0}.localhost:44366', N'/images/clients/blazor.svg', N'{}', N'6739bff0e772468f861b23c73b91a488', '2025-12-17 12:23:35.5845410', NULL, NULL, NULL, '0', NULL, NULL);

hi

Which HTTP request gets this error message?

Thanks.

你好

这会有任何问题吗?

谢谢

Showing 1 to 10 of 11484 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
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.