Activities of "Emanuele.Filardo"

Answer
  • ABP Framework version: v4.4.0
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: no
  • Steps to reproduce the issue:"with ABP Suite create entity/aggregateroot with string PK, the tests are generated with "INT" instead of "STRING" value for PK
Answer

ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue:"with ABP Suite create user interface entity/aggregateroot"

Wrong namespace in Frontend.Blazor.Page.Item.razor_cs.txt: generated "namespace company.Project.Blazor.Pages.Project" expected "namespace company.Project.Blazor.Pages"

Workaround: Edit templates -> Frontend.Blazor.Page.Item.razor_cs.txt from "namespace %%solution-namespace%%.Blazor.Pages%%if:IsUiBlazorServer%%.%%only-project-name%%%%" to "namespace %%solution-namespace%%.Blazor.Pages%%if:IsUiBlazorServer%%%%</if:IsUiBlazorServer>%%"

Answer

ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue:"with ABP Suite create backend entity/aggregateroot mixed Singular and Plural name"

Generated mixed: singular file name "IContactAppService.cs" plural file content "public interface IContactsAppService : IApplicationService" singular file name "ContactAppService.cs" plural file content "public class ContactsAppService : ApplicationService, IContactsAppService"

Expected all singular: singular file name "IContactAppService.cs" singular file content "public interface IContactAppService : IApplicationService" singular file name "ContactAppService.cs" singular file content "public class ContactAppService : ApplicationService, IContactAppService"

Workaround: Edit templates -> inside all templates with AppService dependency and replace %%entity-name-plural%% with %%entity-name%%

Answer

ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: create solution with ABP Suite, Linked Account work only in "my profile" page

Expected: Linked Account modal work in all pages like demo

Answer

ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: create solution with ABP Suite, Blazorise obsolete Direction message

Workaround: Edit templates -> Frontend.Blazor.Page.Item.razor_cs.txt replace Direction with SortDirection

Answer

ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: ABP Suite create user interface entity/aggregateroot, missing ValidateAll() invocation. https://github.com/abpframework/abp/pull/7598/files

Workaround: Edit Template Frontend.Blazor.Page.Item.razor_cs.txt

private async Task Create%%entity-name%%Async()
        {
            if(New%%entity-name%%Validations.ValidateAll())
            {
                await %%entity-name-plural%%AppService.CreateAsync(New%%entity-name%%);
                await Get%%entity-name-plural%%Async();
                Create%%entity-name%%Modal.Hide();
            }
        }
private async Task Update%%entity-name%%Async()
        {
            if(Editing%%entity-name%%Validations.ValidateAll())
            {
                await %%entity-name-plural%%AppService.UpdateAsync(Editing%%entity-name%%Id, Editing%%entity-name%%);
                await Get%%entity-name-plural%%Async();
                Edit%%entity-name%%Modal.Hide();
            }
        }

This is requided because SubmitButton -> PreventDefaultOnSubmit="true" doesn't work as expected

Answer

ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: ABP Suite create entity/aggregateroot with required navitagion properties, in generated class is missing NotNull attribute in property, it isn't added as constructor parameter and then not included in tests data seed

Answer
  • ABP Framework version: v4.4.2
  • UI type: Blazor
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: no
  • Steps to reproduce the issue:" AbpSuite "+Add Property" no "Guid" type available for reference AggregateRoot as you suggest in ebook at page 35 "Aggregate / Aggregate Root Rules & Best Practices"

Answer

ABP Framework version: v4.4.0 UI type: Blazor DB provider: EF Core Tiered (MVC) or Identity Server Separated (Angular): no Exception message and stack trace: no Steps to reproduce the issue: create solution with ABP Suite, Linked Account work only in "my profile" page

Expected: Linked Account modal work in all pages like demo

Still present in 4.4.2

Answer

I have seen users reported this issue in the Bugs & Issues v4.3.X post. Until v4.4.2 this issue still exists.

ABP team please at least answer the question that other users also asked: "Is this a new approach for naming convention? Or is this a bug in the templates?"

Try to update abp cli, it was solved since 4.4.1. https://blog.abp.io/abp/ABP.IO-Platform-4.4-Final-Has-Been-Released!

If you have customized templates, you should remove those.

Showing 1 to 10 of 39 entries
Made with ❤️ on ABP v8.2.0-preview Updated on March 25, 2024, 15:11