Open Closed

⚠️ Bugs & Issues v8.0.x ⚠️ #6260


User avatar
0
EngincanV created
Support Team

⚡ Update ABP CLI and ABP Suite

dotnet tool update -g Volo.Abp.Cli --prerelease
abp suite update --preview

📗 Blog post

  • https://blog.abp.io/abp/announcing-abp-8-0-release-candidate

📘 Commercial release logs

  • https://docs.abp.io/en/commercial/8.0/release-notes
  • https://commercial.abp.io/releases/

🔼 Migration guides

  • https://docs.abp.io/en/abp/8.0/Migration-Guides/Abp-8_0
  • https://docs.abp.io/en/commercial/8.0/migration-guides/v8_0

✏️ Feel free to report any bugs, issues, and problems.


82 Answer(s)
  • User Avatar
    0
    rafael.gonzales created

    Hello, It's me again!

    I started testing version 8.0.0 r.c-2 and I found this issue in the default template

    Project Type: MVC Database: Postgresql Mobile: React Native Non-Tiered

    It's missing a class with some pre-defined constants in the default template

  • User Avatar
    0
    maliming created
    Support Team

    hi rafael.gonzales

    I will check this problem. Thank you.


    This will be fixed in the next RC version.

    https://github.com/abpframework/abp/pull/18346

  • User Avatar
    0
    n.uerkmez created

    Hi there,

    The problem in the link is still present on the newly generated pages. It is not practical to offer a manual solution. Wouldn't it be better if you fixed the problem?

    Thank you

    Navigation properties do not work in generated UI (Angular)

    https://support.abp.io/QA/Questions/5977/Navigation-properties-do-not-work-in-generated-UI-Angular#answer-3a0e4b05-6a9d-5a2a-323c-6dec5aef111f

  • User Avatar
    0
    rafael.gonzales created

    I found another bug.

    No matter what combination of templates are you using within the MVC scope. When you try to add a new Module for your project. It won't add a reference for the new SubModule in the Web Project.

  • User Avatar
    0
    muhlisatac@gmail.com created

    Hi some input validations are not localized.

    [Required]
    [StringLength(AdConsts.AdUrlMaxLength)]
    public string AdUrl { get; set; } = null!;
    public decimal Budget { get; set; }
    

    <abp-input asp-for="AdUrl" /> <abp-input asp-for="Budget" />

  • User Avatar
    0
    rafael.gonzales created

    There is a critical error after updating to 8.0.0.rc-3

    It's not possible to create a project in ABP Suite

  • User Avatar
    0
    EngincanV created
    Support Team

    There is a critical error after updating to 8.0.0.rc-3

    It's not possible to create a project in ABP Suite

    Hi @rafael.gonzales, we have released v8.0.0-rc.3 about 1 hour ago and it seems you tried it about 2 hours ago therefore when you tried it, the commercial templates and packages were not released and if you retry again, it should work as expected. Can you try again?

  • User Avatar
    0
    rafael.gonzales created

    I think that the timing from GitHub and the ABP release schedule are not aligned. I got an alert from Git Hub about a new pre-release and updated my solution.

    I will try again now

  • User Avatar
    0
    EngincanV created
    Support Team

    I think that the timing from GitHub and the ABP release schedule are not aligned. I got an alert from Git Hub about a new pre-release and updated my solution.

    I will try again now

    I understand your confusion but this is the release for ABP Framework, after this has been completed, then we have started releasing ABP Commercial packages & templates, so they are being released a couple of hours late.

  • User Avatar
    0
    alper created
    Support Team

    I think that the timing from GitHub and the ABP release schedule are not aligned. I got an alert from Git Hub about a new pre-release and updated my solution.

    I will try again now

    @rafael.gonzales, you need to check this page to see if a new version has been published 👉 https://commercial.abp.io/releases

  • User Avatar
    0
    rafael.gonzales created

    There is a known bug right now in dotnet 8.0

    If you compile the project you will get the following warning

    The analyzer "Microsoft.AspNetCore.Analyzers.RouteHandlers.RouteHandlerAnalyzer" threw an exception of type "System.InvalidOperationException" with the message "Failed to resolve well-known type 'Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions'.".
    

    This is not an ABP Related bug but a DOTNET 8.0 one. It will be fixed in the next dotnet patch. It can be followed here https://github.com/dotnet/aspnetcore/issues/50836

  • User Avatar
    0
    rafael.gonzales created

    This seems to be appearing in the new release candidate when you create a new module in a MVC | Non-Tiered Solution

  • User Avatar
    0
    rafael.gonzales created

    I found a bug in ABP Suite 8.0.0.rc-3

    When you create a Master Entity with a X number of properties and a Detail Entity with another Y number of properties and generate the C# code. When you want to delete a column in the MASTER entity. ABP Suite won't delete the entity in the Detail.json file specification and either won't be deleted in the language file "en.json".

  • User Avatar
    0
    rafael.gonzales created

    in ABP Suite 8.0.0.rc-3

    When you generate code for a DETAIL entity. The namespace added in the MASTER entity code is not the one defined in the DETAIL.json file instead It uses the following structure [PROJECT_NAME].[DETAIL_PLURAL_NAME].

    It should be [PROJECT_NAME].[DETAIL_NAMESPACE]

    Note: In some MASTER entities. The child namespace is missing.

  • User Avatar
    0
    rafael.gonzales created

    in ABP Suite 8.0.0.rc-3

    In the Master Controller file. The path of the generated _ChildDataGrids.cshtml is wrong. It doesn't include the Module name so It will fail

    Now

    public class DemosController : AbpController
    {
        [HttpGet]
        public virtual async Task<PartialViewResult> ChildDataGrid(Guid demoId)
        {
            return PartialView("~/Pages/Shared/Guias/_ChildDataGrids.cshtml", demoId);
        }
    }
    

    Should be

    public class DemosController : AbpController
    {
        [HttpGet]
        public virtual async Task<PartialViewResult> ChildDataGrid(Guid demoId)
        {
            return PartialView("~/Pages/MYMODULE/Shared/Guias/_ChildDataGrids.cshtml", demoId);
        }
    }
    
  • User Avatar
    0
    rafael.gonzales created

    in ABP Suite 8.0.0.rc-3

    There is another issue in the generated Index.js

    In the Init DataGrid for child entities, the viewURL and scriptUrl doesn't include the Project Name.

    Using the template system to temporary fix this.

    In template: Frontend.Mvc.Page.Partials.index.js_InitChildDataGridMethod.txt Now:

        function init%%child-entity-name%%Grid(data) {
            if(!abp.auth.isGranted("%%only-project-name%%.%%child-entity-name-plural%%")) {
                return;
            }
            
            var %%entity-name-camelcase%%Id = data%%<if:HasNavigationProperties>%%.%%entity-name-camelcase%%%%</if:HasNavigationProperties>%%.id;
    
            %%<if:IsTieredArchitecture>%%var %%child-entity-name-camelcase%%Service = window.%%solution-namespace-camelcase%%.controllers.%%child-entity-namespace-camelcase%%.%%child-entity-name-camelcase%%;%%</if:IsTieredArchitecture>%%
            %%<if:IsNonTieredArchitecture>%%var %%child-entity-name-camelcase%%Service = window.%%solution-namespace-camelcase%%.%%child-entity-namespace-camelcase%%.%%<if:IsModule>%%%%child-entity-name-camelcase%%%%</if:IsModule>%%%%<if:IsNonModule>%%%%child-entity-name-plural-camelcase%%%%</if:IsNonModule>%%;%%</if:IsNonTieredArchitecture>%%
    
            var %%child-entity-name-camelcase%%CreateModal = new abp.ModalManager({
                viewUrl: abp.appPath + "%%child-entity-name-plural%%/CreateModal",
                scriptUrl: abp.appPath + "Pages/%%child-entity-name-plural%%/createModal.js",
                modalClass: "%%child-entity-name-camelcase%%Create"
            });
    
            var %%child-entity-name-camelcase%%EditModal = new abp.ModalManager({
                viewUrl: abp.appPath + "%%child-entity-name-plural%%/EditModal",
                scriptUrl: abp.appPath + "Pages/%%child-entity-name-plural%%/editModal.js",
                modalClass: "%%child-entity-name-camelcase%%Edit"
            });
    
            var %%child-entity-name-camelcase%%DataTable = $("#%%child-entity-name-plural%%Table-" + %%entity-name-camelcase%%Id).DataTable(abp.libs.datatables.normalizeConfiguration({
                processing: true,
                serverSide: true,
                paging: true,
                searching: false,
                scrollX: true,
                autoWidth: true,
                scrollCollapse: true,
                order: [[1, "asc"]],
                ajax: abp.libs.datatables.createAjax(%%child-entity-name-camelcase%%Service.getList%%child-navigation-properties%%By%%entity-name%%Id, {
                    %%entity-name-camelcase%%Id: %%entity-name-camelcase%%Id,
                    maxResultCount: 5
                }),
                columnDefs: [
                    {
                        rowAction: {
                            items:
                                [
                                    {
                                        text: l("Edit"),
                                        visible: abp.auth.isGranted('%%only-project-name%%.%%child-entity-name-plural%%.Edit'),
                                        action: function (data) {
                                            %%child-entity-name-camelcase%%EditModal.open({
                                                id: data.record%%include-navigation-property%%.id
                                            });
                                        }
                                    },
                                    {
                                        text: l("Delete"),
                                        visible: abp.auth.isGranted('%%only-project-name%%.%%child-entity-name-plural%%.Delete'),
                                        confirmMessage: function () {
                                            return l("DeleteConfirmationMessage");
                                        },
                                        action: function (data) {
                                            %%child-entity-name-camelcase%%Service.delete(data.record%%include-navigation-property%%.id)
                                                .then(function () {
                                                    abp.notify.info(l("SuccessfullyDeleted"));
                                                    %%child-entity-name-camelcase%%DataTable.ajax.reloadEx();
                                                });
                                        }
                                    }
                                ]
                        },
                        width: "1rem"
                    },
                    %%index-js-TableProperties%%%%table-navigation-property-fields%%
                ]
            }));
    
            %%child-entity-name-camelcase%%CreateModal.onResult(function () {
                %%child-entity-name-camelcase%%DataTable.ajax.reloadEx();
            });
    
            %%child-entity-name-camelcase%%EditModal.onResult(function () {
                %%child-entity-name-camelcase%%DataTable.ajax.reloadEx();
            });
    
            $("#New%%child-entity-name%%Button").click(function (e) {
                e.preventDefault();
                
                %%child-entity-name-camelcase%%CreateModal.open({
                    %%entity-name-camelcase%%Id: $(this).data("%%entity-name-camelcase%%-id")
                });
            });
        }
    

    Should be:

    function init%%child-entity-name%%Grid(data) {
        if(!abp.auth.isGranted("%%only-project-name%%.%%child-entity-name-plural%%")) {
            return;
        }
        
        var %%entity-name-camelcase%%Id = data%%<if:HasNavigationProperties>%%.%%entity-name-camelcase%%%%</if:HasNavigationProperties>%%.id;
    
        %%<if:IsTieredArchitecture>%%var %%child-entity-name-camelcase%%Service = window.%%solution-namespace-camelcase%%.controllers.%%child-entity-namespace-camelcase%%.%%child-entity-name-camelcase%%;%%</if:IsTieredArchitecture>%%
        %%<if:IsNonTieredArchitecture>%%var %%child-entity-name-camelcase%%Service = window.%%solution-namespace-camelcase%%.%%child-entity-namespace-camelcase%%.%%<if:IsModule>%%%%child-entity-name-camelcase%%%%</if:IsModule>%%%%<if:IsNonModule>%%%%child-entity-name-plural-camelcase%%%%</if:IsNonModule>%%;%%</if:IsNonTieredArchitecture>%%
    
        var %%child-entity-name-camelcase%%CreateModal = new abp.ModalManager({
            viewUrl: abp.appPath + "%%only-project-name%%/%%child-entity-name-plural%%/CreateModal",
            scriptUrl: abp.appPath + "Pages/%%only-project-name%%/%%child-entity-name-plural%%/createModal.js",
            modalClass: "%%child-entity-name-camelcase%%Create"
        });
    
        var %%child-entity-name-camelcase%%EditModal = new abp.ModalManager({
            viewUrl: abp.appPath + "%%only-project-name%%/%%child-entity-name-plural%%/EditModal",
            scriptUrl: abp.appPath + "Pages/%%only-project-name%%/%%child-entity-name-plural%%/editModal.js",
            modalClass: "%%child-entity-name-camelcase%%Edit"
        });
    
        var %%child-entity-name-camelcase%%DataTable = $("#%%child-entity-name-plural%%Table-" + %%entity-name-camelcase%%Id).DataTable(abp.libs.datatables.normalizeConfiguration({
            processing: true,
            serverSide: true,
            paging: true,
            searching: false,
            scrollX: true,
            autoWidth: true,
            scrollCollapse: true,
            order: [[1, "asc"]],
            ajax: abp.libs.datatables.createAjax(%%child-entity-name-camelcase%%Service.getList%%child-navigation-properties%%By%%entity-name%%Id, {
                %%entity-name-camelcase%%Id: %%entity-name-camelcase%%Id,
                maxResultCount: 5
            }),
            columnDefs: [
                {
                    rowAction: {
                        items:
                            [
                                {
                                    text: l("Edit"),
                                    visible: abp.auth.isGranted('%%only-project-name%%.%%child-entity-name-plural%%.Edit'),
                                    action: function (data) {
                                        %%child-entity-name-camelcase%%EditModal.open({
                                            id: data.record%%include-navigation-property%%.id
                                        });
                                    }
                                },
                                {
                                    text: l("Delete"),
                                    visible: abp.auth.isGranted('%%only-project-name%%.%%child-entity-name-plural%%.Delete'),
                                    confirmMessage: function () {
                                        return l("DeleteConfirmationMessage");
                                    },
                                    action: function (data) {
                                        %%child-entity-name-camelcase%%Service.delete(data.record%%include-navigation-property%%.id)
                                            .then(function () {
                                                abp.notify.info(l("SuccessfullyDeleted"));
                                                %%child-entity-name-camelcase%%DataTable.ajax.reloadEx();
                                            });
                                    }
                                }
                            ]
                    },
                    width: "1rem"
                },
                %%index-js-TableProperties%%%%table-navigation-property-fields%%
            ]
        }));
    
        %%child-entity-name-camelcase%%CreateModal.onResult(function () {
            %%child-entity-name-camelcase%%DataTable.ajax.reloadEx();
        });
    
        %%child-entity-name-camelcase%%EditModal.onResult(function () {
            %%child-entity-name-camelcase%%DataTable.ajax.reloadEx();
        });
    
        $("#New%%child-entity-name%%Button").click(function (e) {
            e.preventDefault();
            
            %%child-entity-name-camelcase%%CreateModal.open({
                %%entity-name-camelcase%%Id: $(this).data("%%entity-name-camelcase%%-id")
            });
        });
    }
    
  • User Avatar
    0
    rafael.gonzales created

    Issue in the generated Master | Detail

    Can you consider moving the "Add new child entity" button to the left instead of being aligned to the right? It will help with the visibility of the button.

  • User Avatar
    0
    rafael.gonzales created

    In the new Master | Detail functionality. The "Export to Excel" feature doesn't include Child entities in the XLSX.

  • User Avatar
    0
    rafael.gonzales created

    In the new Master | Detail functionality.

    • When you create and generate a Child Entity, in the Demo.Domain project, specifically in the Master Entity definition. The namespace of the child entity is not added when a new child entity is generated.
    • In Demo.Application.Contracts happen some sort of the same issue, in the Master Entity Dto, the references added in the USING area it's the PROJECT_NAME.PLURAL_NAME instead of PROJECT_NAME.NAMESPACE defined in the Entity
  • User Avatar
    0
    EngincanV created
    Support Team

    Hi @rafael.gonzales, thanks for your effort and findings. I'll evaluate these problems and create internal issues.

    Regards.

  • User Avatar
    0
    birliks created

    Hello,

    I create a table with ABP Suite CRUD Generator. I have Latitude and Longtitude columns in it as double type. When opening Edit Dialog, these values shown with numericpicker but with 2 decimals as it is default according to Blazorise website (https://blazorise.com/docs/components/numeric-picker). After updating, it saved to database as 2 decimal points and i am loosing data because of that. My request is to fixing this bug to add Decimals attribute to the numericpicker. Adding decimal point count into the CRUD generator page may be another option (for float and double values). Please see my corrected answer below.

    <Validation> <Field> <FieldLabel>@L["Latitude"]</FieldLabel> <NumericPicker TValue="double" Decimals="15" @bind-Value="@EditingLocation.Latitude" Min="LocationConsts.LatitudeMinLength" Max="LocationConsts.LatitudeMaxLength"> <Feedback> <ValidationError /> </Feedback> </NumericPicker> </Field> </Validation>

  • User Avatar
    0
    n.uerkmez created

    Hi, The following issue appeared with v.8.0.0rc3 after creating a brand new project by abp suite.

    Cannot find name 'HttpErrorComponent'.

  • User Avatar
    0
    n.uerkmez created

    Hi, The following issue appeared with v.8.0.0rc3 after creating a brand new project by abp suite. The Enum type field is not populated correctly in the edit/add new screen.

  • User Avatar
    0
    EngincanV created
    Support Team

    Hi, The following issue appeared with v.8.0.0rc3 after creating a brand new project by abp suite.

    Cannot find name 'HttpErrorComponent'.

    Thanks for reporting, this is a known issue and we will fix it asap.

  • User Avatar
    0
    rafael.gonzales created

    I have a situation with ABP Suite. Even when you change the default order of a newly created Entity. It doesn't generate any code related to the Sorting of the selected property. Could you please review that?

  • User Avatar
    0
    rafael.gonzales created

    Found another bug in ABP.Suite 8.0.0.rc-3

    When you try to generate an Entity with a one-to-many relationship. It tries to locate a test class in the wrong place.

    It tries to locate in Demo.TestBase folder instead of Demo.Domain.Tests folder

    Could not find a part of the path 'C:\Users\User\Documents\GitHub\demo\demo-web-mvc\modules\Demo\test\Demo.TestBase\Demo\DemoDataSeedContributor.cs'.
    System.IO.DirectoryNotFoundException: Could not find a part of the path 'C:\Users\User\Documents\GitHub\demo\demo-web-mvc\modules\Demo\test\Demo.TestBase\Demo\DemoDataSeedContributor.cs'.
       at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
       at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
       at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
       at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
       at System.IO.StreamReader.ValidateArgsAndOpenPath(String path, Encoding encoding, Int32 bufferSize)
       at System.IO.File.OpenText(String path)
       at Volo.Abp.IO.FileHelper.ReadAllTextAsync(String path) in D:\ci\Jenkins\workspace\abp-volo-release\abp\framework\src\Volo.Abp.Core\Volo\Abp\IO\FileHelper.cs:line 59
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.kKU8AbY4LZ(String  )
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.ThA8R0QUdt(TestDataObject  , Int32  )
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.OYG8Wvo7Rq()
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.UnitTestCommandCommand.ExecuteAsync(CrudPageCommandOptions options)
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.CommandManager.ExecuteAllAsync(CrudPageCommandOptions options)
       at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.CrudPageGenerator.GenerateAsync(EntityModel entity, Solution solution, EntityModel masterEntity)
       at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity)
       at lambda_method1948(Closure, Object)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeActionMethodAsync&gt;g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
    
  • User Avatar
    0
    vinhlam0112 created

    I follow : https://community.abp.io/posts/upgrade-your-existing-projects-to-.net-8-abp-8.0-x0n7hiqr To update from 7.4.1 to 8.0.0

    And I have two errors when I launch my Blazor application:

    Failed to start platform. Reason: TypeError: Cannot read properties of undefined (reading 'dotnet.wasm') at Vt (global.js?_v=638368097806085722:1:62226) TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at global.js?_v=638368097806085722:1:37659 at global.js?_v=638368097806085722:1:38464 at Object.start (global.js?_v=638368097806085722:1:46018) at Vt (global.js?_v=638368097806085722:1:62202)

    Afterwards, I run "abp bundle" in folder blazor.host

    And I received an error like this:

  • User Avatar
    0
    EngincanV created
    Support Team

    I follow : https://community.abp.io/posts/upgrade-your-existing-projects-to-.net-8-abp-8.0-x0n7hiqr To update from 7.4.1 to 8.0.0

    And I have two errors when I launch my Blazor application:

    Failed to start platform. Reason: TypeError: Cannot read properties of undefined (reading 'dotnet.wasm') at Vt (global.js?_v=638368097806085722:1:62226) TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at global.js?_v=638368097806085722:1:37659 at global.js?_v=638368097806085722:1:38464 at Object.start (global.js?_v=638368097806085722:1:46018) at Vt (global.js?_v=638368097806085722:1:62202)

    Afterwards, I run "abp bundle" in folder blazor.host

    And I received an error like this:

    Did you follow the migration guides mentioned in the article? You should update the Blazorise package versions to 1.3.2 and then run abp bundle command.

    Also, you should update the LeptonX package version as follows:

    <PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme" Version="3.0.*-*" />
    
  • User Avatar
    0
    vinhlam0112 created

    I follow : https://community.abp.io/posts/upgrade-your-existing-projects-to-.net-8-abp-8.0-x0n7hiqr
    To update from 7.4.1 to 8.0.0

    And I have two errors when I launch my Blazor application:

    Failed to start platform. Reason: TypeError: Cannot read properties of undefined (reading 'dotnet.wasm') at Vt (global.js?_v=638368097806085722:1:62226)
    TypeError: Cannot convert undefined or null to object at Function.keys (<anonymous>) at global.js?_v=638368097806085722:1:37659 at global.js?_v=638368097806085722:1:38464 at Object.start (global.js?_v=638368097806085722:1:46018) at Vt (global.js?_v=638368097806085722:1:62202)

    Afterwards, I run "abp bundle" in folder blazor.host

    And I received an error like this:

    Did you follow the migration guides mentioned in the article? You should update the Blazorise package versions to 1.3.2 and then run abp bundle command.

    Also, you should update the LeptonX package version as follows:

    <PackageReference Include="Volo.Abp.AspNetCore.Components.WebAssembly.LeptonXTheme" Version="3.0.*-*" /> 
    

    I followed the documentation and updated Blazorise to version 1.3.2, and here are the packages I upgraded to version 8.0 in the .Blazor.Host module. But the error still remains.

  • User Avatar
    0
    rafael.gonzales created

    There is still a critical issue in ABP Suite that won't let you generate Entities with one-on-one relationships.

    If I create a RelatedEntities in ABP Suite with any property and generate it and then create a MasterEntity with a relationship of 1-1 with RelatedEntities and try to generate it using ABP Suite. I will get the following error.

  • User Avatar
    0
    JackQian created

  • User Avatar
    0
    liangshiwei created
    Support Team

    @vinhlam0112

    Could you share the error logs? (HttpApi.Host & AuthServer)

  • User Avatar
    0
    rafael.gonzales created

    There is still a critical issue in ABP Suite that won't let you generate Entities with one-on-one relationships.

    If I create a RelatedEntities in ABP Suite with any property and generate it and then create a MasterEntity with a relationship of 1-1 with RelatedEntities and try to generate it using ABP Suite. I will get the following error.

    Related to this. If you create a Master-Detail Entity, the detail entity doesn't generate any test project or it's added to the master entity test project.

  • User Avatar
    0
    portx-dev created

    After updating version from 7.4.2 to 8.0.0, my angular app has the following error

    ERROR Error: NG0302: The pipe 'abpLocalization' could not be found in the 'HttpErrorComponent' component. Verify that it is included in the '@Component.imports' of this component. Find more at https://angular.io/errors/NG0302 at getPipeDef (core.mjs:27712:15) at Module.ɵɵpipe (core.mjs:27653:19) at HttpErrorComponent_ng_container_0_Template (volosoft-abp.ng.theme.lepton-x.mjs:42:103) at executeTemplate (core.mjs:12181:9) at renderView (core.mjs:15243:13) at createAndRenderEmbeddedLView (core.mjs:19773:5) at TemplateRef.createEmbeddedViewImpl (core.mjs:28065:31) at ViewContainerRef.createEmbeddedView (core.mjs:19945:37) at Object.next (abp-ng.core.mjs:3287:28) at ConsumerObserver.next (Subscriber.js:91:33)

  • User Avatar
    0
    masum.ulu created
    Support Team Angular Developer

    @portx-dev

    After updating version from 7.4.2 to 8.0.0, my angular app has the following error

    We've internal issue for this error, it'll be fixed with patch version

  • User Avatar
    0
    rafael.gonzales created

    There is an important error in ABP Suite for 8.0.1.

    Can't create a module even in a clean installation.

    You get the following error while creating a new module

    Please, this requires special attention to be fixed soon and this shouldn't happen in future versions since it's a basic functionality of ABP Suite

    Thanks.

  • User Avatar
    0
    EngincanV created
    Support Team

    There is an important error in ABP Suite for 8.0.1.

    Can't create a module even in a clean installation.

    You get the following error while creating a new module

    Please, this requires special attention to be fixed soon and this shouldn't happen in future versions since it's a basic functionality of ABP Suite

    Thanks.

    Hi, can you check if your application is running or not? If it's running please stop it and then re-try to add the module.

  • User Avatar
    0
    rafael.gonzales created

    There is an important error in ABP Suite for 8.0.1.

    Can't create a module even in a clean installation.

    You get the following error while creating a new module

    Please, this requires special attention to be fixed soon and this shouldn't happen in future versions since it's a basic functionality of ABP Suite

    Thanks.

    Hi, can you check if your application is running or not? If it's running please stop it and then re-try to add the module.

    Hi, the application was not running, turned off the antivirus and created a new abp application from ABP Suite and still got that error.
    
  • User Avatar
    0
    EngincanV created
    Support Team

    Hi, the application was not running, turned off the antivirus and created a new abp application from ABP Suite and still got that error.

    Thanks. I have addressed the problem and create a PR for it: https://github.com/abpframework/abp/pull/18702

  • User Avatar
    0
    rafael.gonzales created

    Any news about the fix? It's not possible to use ABP Suite with the last version to create a new module

  • User Avatar
    0
    EngincanV created
    Support Team

    Any news about the fix? It's not possible to use ABP Suite with the last version to create a new module

    https://github.com/abpframework/abp/pull/18702

    With this PR, it will be fixed and will be included in the next release. In meantime, if it's so urgent for you to create a template, then you can consider to downgrade the ABP CLI and ABP Suite versions to v8.0.0.

  • User Avatar
    0
    ninomartini created

    In previous versions, I could use the ISettingManager's GetOrNullForCurrentTenantAsync and SetForCurrentTenantAsync to get and set custom application settings. In version 8.0, I expect a null when the setting does not exist. However, I get an error when the setting does not exist.

    Here is an example of a code that does not work in v8.0, but works in 7.4:

    private readonly ISettingManager _settingManager;
    
    public ExtendedSettingsAppService(ISettingManager settingManager)
    {
         _settingManager = settingManager;
    }
        
    public async Task<JotformSettingsDto> GetJotformAsync()
    {
         return new JotformSettingsDto
         {
              JotformFormUrl = await _settingManager.GetOrNullForCurrentTenantAsync("RxPortal.Jotform.JotformFormUrl"),
              JotformApiUrl = await _settingManager.GetOrNullForCurrentTenantAsync("RxPortal.Jotform.JotformApiUrl"),
              JotformApiKey = await _settingManager.GetOrNullForCurrentTenantAsync("RxPortal.Jotform.JotformApiKey"),
              JotformTeamId = await _settingManager.GetOrNullForCurrentTenantAsync("RxPortal.Jotform.JotformTeamId")
         };
    }
    
    public async Task UpdateJotformAsync(JotformSettingsDto input)
    {
         await _settingManager.SetForCurrentTenantAsync("RxPortal.Jotform.JotformFormUrl", input.JotformFormUrl);
         await _settingManager.SetForCurrentTenantAsync("RxPortal.Jotform.JotformApiUrl", input.JotformApiUrl);
         await _settingManager.SetForCurrentTenantAsync("RxPortal.Jotform.JotformApiKey", input.JotformApiKey);
         await _settingManager.SetForCurrentTenantAsync("RxPortal.Jotform.JotformTeamId", input.JotformTeamId);
    }
    

    Here is the error from the log file:

    [20:38:09 ERR] ---------- RemoteServiceErrorInfo ----------
    {
      "code": null,
      "message": "An internal error occurred during your request!",
      "details": null,
      "data": {},
      "validationErrors": null
    }
    
    [20:38:09 ERR] Undefined setting: RxPortal.Jotform.JotformFormUrl
    Volo.Abp.AbpException: Undefined setting: RxPortal.Jotform.JotformFormUrl
       at Volo.Abp.Settings.SettingDefinitionManager.GetAsync(String name)
       at Volo.Abp.SettingManagement.SettingManager.GetOrNullInternalAsync(String name, String providerName, String providerKey, Boolean fallback)
       at RxPortal.ExtendedSettings.ExtendedSettingsAppService.GetJotformAsync() in C:\Abp\rx-portal\aspnet-core\src\RxPortal.Application\ExtendedSettings\ExtendedSettingsAppService.cs:line 22
       at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
       at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
       at Volo.Abp.Authorization.AuthorizationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
       at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
       at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
       at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
       at Volo.Abp.GlobalFeatures.GlobalFeatureInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
       at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
       at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
       at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
       at Volo.Abp.Auditing.AuditingInterceptor.ProceedByLoggingAsync(IAbpMethodInvocation invocation, AbpAuditingOptions options, IAuditingHelper auditingHelper, IAuditLogScope auditLogScope)
       at Volo.Abp.Auditing.AuditingInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
       at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
       at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
       at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
       at Volo.Abp.Validation.ValidationInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
       at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
       at Castle.DynamicProxy.AsyncInterceptorBase.ProceedAsynchronous[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo)
       at Volo.Abp.Castle.DynamicProxy.CastleAbpMethodInvocationAdapterWithReturnValue`1.ProceedAsync()
       at Volo.Abp.Uow.UnitOfWorkInterceptor.InterceptAsync(IAbpMethodInvocation invocation)
       at Volo.Abp.Castle.DynamicProxy.CastleAsyncAbpInterceptorAdapter`1.InterceptAsync[TResult](IInvocation invocation, IInvocationProceedInfo proceedInfo, Func`3 proceed)
       at lambda_method5123(Closure, Object)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(ActionContext actionContext, IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.&lt;InvokeActionMethodAsync&gt;g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
       at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
    --- End of stack trace from previous location ---
       at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
    [20:38:09 INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'.
    [20:38:09 INF] Executed action RxPortal.Controllers.ExtendedSettings.ExtendedSettingsController.GetJotformAsync (RxPortal.HttpApi) in 24.4663ms
    
  • User Avatar
    0
    maliming created
    Support Team

    hi @ninomartini

    I will confirm this; thanks for your feedback.

  • User Avatar
    1
    maliming created
    Support Team

    hi @ninomartini

    Now that the logic has changed, the settings must be defined before they can be used. If you have special requirements, you can override the default setting services

  • User Avatar
    0
    ninomartini created

    hi @ninomartini

    Now that the logic has changed, the settings must be defined before they can be used. If you have special requirements, you can override the default setting services

    Yes, defining the settings in advance will correct my issue in v8.0. Thank you for the quick response.

  • User Avatar
    0
    rafael.gonzales created

    I found an issue while creating Master / Detail.

    The generated MasterDto includes a wrong collection of DetailDto. It includes DetailWithNavigationPropertiesDto instead of DetailDto.

  • User Avatar
    0
    portx-dev created

    https://support.abp.io/QA/Questions/5642/Bugs--Issues-v74x#answer-3a0ebb18-2391-7ca7-ed1f-70af3864c62d

    This error still exists in version 8.0.0 Please help me fix it

  • User Avatar
    0
    rafael.gonzales created

    I can't see any Lepton or LeptonX Bug & Issues but here I go

    In

    LeptonX\src\Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX\Themes\LeptonX\Components\SideMenu\MobileNavbar\Default.cshtml

    There is no localization for "Settings" button (Line 49) <li class="lpx-mobile-nav-tab"> <a class="lpx-mobile-nav-item" data-lpx-mobile-menu-toggle="settings"> <i class="menu-item-icon bi bi-gear-wide-connected" aria-hidden="true"></i> <span class="mobile-item-text">Settings</span> </a> </li>

    It also happens here LeptonX\src\Volo.Abp.AspNetCore.Components.Web.LeptonXTheme\Components\ApplicationLayout\TopMenu\Navigation\MobileNavbar.razor

  • User Avatar
    0
    rafael.gonzales created

    in the CLI, abp update it's not updating the project to the latest version 8.0.2. Either it's applying any changes to the code related to the new version.

  • User Avatar
    0
    rafael.gonzales created

    This issue has not been resolved https://commercial.abp.io/releases/pr/16413

    It's still happening the issue with the test and the one-to-many relationship. You need to validate the one-to-many when it's related with a Detail in the Master/Detail functionality.

    Steps to reproduce.

    Create a Master Entity named "RelatedDemo" Create a Master Entity named "MasterDemo" Create a Detail for "Demo" and name it "DemoDetail"

    In the "DemoDetail" configuration, add a one-to-many with "RelatedDemo"

    • Generate "RelatedDemo"
    • Generate "MasterDemo"
    • Generate "DemoDetail"
    • Re-generate "MasterDemo" (You need to re-generate the "MasterDemo", because if you don't do this, it will generate an issue because the DtoGenerated in "MasterDemo" after you create the detail it's of type "WithNavigationProperties" instead of the Dto one so you need to re-generate the "MasterDemo" so it will include in the automapper an Ignore for that property.

    It will throw a similar error but instead of looking for the full namespace for the RelatedDemoDataSeedContributor. It will start to look for the file in the Master entity folder instead of the folder "RelatedDemo"

    Could not find file 'C:\Users\User\Documents\GitHub\demo802\modules\DemoModule\test\DemoModule.Domain.Tests\MasterDemo\RelatedDemoDataSeedContributor.cs'.

    UPDATES

    It also happens when you have TWO one-to-many relationships of the same entity. It tries to look the DataSeedContributor of the related entities from the destination entity folder

  • User Avatar
    0
    ninomartini created

    I am using the Angular front end. In version 7.4, a new tab is NOT opened when "My account" is selected from the user menu. In version 8.0.2 a new tab is opened when this option is selected.

  • User Avatar
    0
    rafael.gonzales created

    There is no DataSeedContributor for Detail Entities.

  • User Avatar
    0
    rafael.gonzales created

    I would like to see it in the ABP Suite.

    • Nullable strings option
    • Decimal range and precision
    • DateRange option in ABP Suite
    • Add Spanish (Mexico) and Spanish (Peru) in the localization (In Spanish, we have different decimal validations between Spain (es) and South America (es-MX or es-PE)
    • Ability to add nested details
  • User Avatar
    0
    hinairusu created

    Generated a brand new single layer MVC application, ran the DB seeder through suite, and no admin account has been generated.

    Tried running the DB Migrations manually, no admin account present.

    Makes setting things up rather difficult!

    In fact, it looks like nothing has seeded at all (no admin roles, or anything)

    Edit: Looks like if you press "no" to the initial seeding, it won't seed. You then need to add a new CRUD for it to seed the data inside.

    Makes me concerned as to how it'll seed the data when it's deployed to a live DB - as it doesn't have a DBMigrator shipped with it. I would have expected it to do it out of the box on launch.

  • User Avatar
    0
    rafael.gonzales created

    The new version of ABP Suite 8.0.2 is not adding integer or float validations for properties, It's not adding the [Range] attribute

  • User Avatar
    0
    ageiter created

    I just had problems with the suite when I tried a master-child relationship and then wanted to undo it. The procedure can be described as follows:

    1. Create a master-entity named Company (-> Company.json) -> generate the classes

    2. Create a child-entity named Employee, select Company as master (-> Employee.json) Note: The information of the child is also written in Company.json (which causes the problem later).

    3. So I change the type of the Employee back from Child -> Master.

    4. Create a regular navigation property for Company and generate the classes for Employee.

    5. Then I generate the classes for the Company again. Now I have problems because of missing methods etc.

    I then realized that there were still old entries of the child in Company.json. They were not deleted again when I switched back from Child -> Master for the Employee.

    Since you can't see this in the Suite UI, errors quickly occur and I then spent a lot of time trying to find the error in the templates...

  • User Avatar
    0
    muhlisatac@gmail.com created

    With version 8.0.2 (MVC) Abp suite creates a function like below for master-child data. When I click the details button on datatable it shows an error. Because childB in data.childB.id is null at first.

        function initDataGrids(data) {
            initChildAGrid(data)
            $("#ChildBs-tab-" + data.childB.id).one("click", function (e) {
                initChildBGrid(data);
            });
        }
    

    But i think it should be like below

        function initDataGrids(data) {
            initChildAGrid(data)
            initChildBGrid(data);
        }
    

    After these changes there were a datatable column width issue on selecting the non visible tab. Making below changes resolved this issue.

        function initDataGrids(data) {
            initChildAGrid(data)
            initChildBGrid(data);
            document.querySelectorAll('a[data-bs-toggle="tab"]').forEach((el) => {
                el.addEventListener('shown.bs.tab', () => {
                    DataTable.tables({ visible: true, api: true }).columns.adjust();
                });
            });
        }
    
  • User Avatar
    0
    ageiter created

    When generating the Blazor DataGrid, the fact that the enums can also be defined as nullable is not taken into account. As with the DateTime, two templates would be required:

    • Frontend.Blazor.Page.Partials.Modal.Field.Enum.DisplayNullable
    • Frontend.Blazor.Page.Partials.Modal.Field.Enum.DisplayNonNullable

    It would be ideal for your tests if you could create an entity model with all possible combinations and data types with which you could test the templates. Because with the current templates (8.0.2) I have already had to fix six of them because otherwise the solution would not compile.

  • User Avatar
    0
    EngincanV created
    Support Team

    With version 8.0.2 (MVC) Abp suite creates a function like below for master-child data. When I click the details button on datatable it shows an error. Because childB in data.childB.id is null at first.

        function initDataGrids(data) { 
            initChildAGrid(data) 
            $("#ChildBs-tab-" + data.childB.id).one("click", function (e) { 
                initChildBGrid(data); 
            }); 
        } 
    

    But i think it should be like below

        function initDataGrids(data) { 
            initChildAGrid(data) 
            initChildBGrid(data); 
        } 
    

    After these changes there were a datatable column width issue on selecting the non visible tab. Making below changes resolved this issue.

        function initDataGrids(data) { 
            initChildAGrid(data) 
            initChildBGrid(data); 
            document.querySelectorAll('a[data-bs-toggle="tab"]').forEach((el) => { 
                el.addEventListener('shown.bs.tab', () => { 
                    DataTable.tables({ visible: true, api: true }).columns.adjust(); 
                }); 
            }); 
        } 
    

    Initializing the child data grids once should be enough actually, but I'll check this one.

  • User Avatar
    0
    muhlisatac@gmail.com created

    With version 8.0.2 (MVC) Abp suite creates a function like below for master-child data. When I click the details button on datatable it shows an error. Because childB in data.childB.id is null at first.

        function initDataGrids(data) {  
            initChildAGrid(data)  
            $("#ChildBs-tab-" + data.childB.id).one("click", function (e) {  
                initChildBGrid(data);  
            });  
        }  
    

    But i think it should be like below

        function initDataGrids(data) {  
            initChildAGrid(data)  
            initChildBGrid(data);  
        }  
    

    After these changes there were a datatable column width issue on selecting the non visible tab. Making below changes resolved this issue.

        function initDataGrids(data) {  
            initChildAGrid(data)  
            initChildBGrid(data);  
            document.querySelectorAll('a[data-bs-toggle="tab"]').forEach((el) => {  
                el.addEventListener('shown.bs.tab', () => {  
                    DataTable.tables({ visible: true, api: true }).columns.adjust();  
                });  
            });  
        }  
    

    Initializing the child data grids once should be enough actually, but I'll check this one.

    I initialized them only one time already. Just wanted to show the final result of the function.

  • User Avatar
    1
    muhlisatac@gmail.com created

    Version: 8.0.2 (MVC Leptonx) I have changed the logo like below. But if I refresh the app, first shows the default lepton logo then changes it to my logo.

    [Dependency(ReplaceServices = true)]
    public class XBrandingProvider : DefaultBrandingProvider
    {
        public override string AppName => "X";
    
        public override string LogoUrl => "/images/logo/logo_light.png";
    
        public override string? LogoReverseUrl => "/images/logo/logo_dark.png";
    }
    
  • User Avatar
    0
    rafael.gonzales created

    I'm having this constant issue in 8.0.2 and It won't create validations for that property

  • User Avatar
    1
    alper created
    Support Team

    Version: 8.0.2 (MVC Leptonx) I have changed the logo like below. But if I refresh the app, first shows the default lepton logo then changes it to my logo.

    [Dependency(ReplaceServices = true)] 
    public class XBrandingProvider : DefaultBrandingProvider 
    { 
        public override string AppName => "X"; 
     
        public override string LogoUrl => "/images/logo/logo_light.png"; 
     
        public override string? LogoReverseUrl => "/images/logo/logo_dark.png"; 
    } 
    

    it should be working as expected after this PR https://github.com/volosoft/lepton/pull/1803.

  • User Avatar
    0
    engineering@climatecamp.io created

    Version 8.0.2 (Angular - EFCore)

    After updating to Abp 8.0.2, extra properties for Tenant and OrganizationUnit entities defined in the ModuleExtensionConfigurator file which need to be selected by lookup as described here: https://docs.abp.io/en/abp/latest/Module-Entity-Extensions#navigation-properties-foreign-keys result in the following frontend error: No provider for NgControl found in NodeInjector.

    The error also occurs in a fresh minimal project.

  • User Avatar
    0
    muhlisatac@gmail.com created

    Version: 8.0.2 (MVC) I have create a method named "CreateOrUpdateAsync" in XAppService.Extended.cs. But when I look at swagger it shows "/api/app/x/or-update/{id}"

    AppService:

        public class XAppService : XAppServiceBase, IXAppService
        {
            //<suite-custom-code-autogenerated>
            ...
            //</suite-custom-code-autogenerated>
    
            [Authorize]
            public virtual async Task<XDto> CreateOrUpdateAsync(Guid? id, XCreateDto input)
            {
                ...
            }
        }
    

    Interface:

        public partial interface IXAppService
        {
            Task<XDto> CreateOrUpdateAsync(Guid? id, XCreateDto input);
        }
    

    Swagger:

    /api/app/x/or-update/{id}
    

    Should be:

    /api/app/x/create-or-update/{id}
    
  • User Avatar
    0
    rafael.gonzales created

    There is a bug in LeptonX

    In Volo.Abp.AspNetCore.Mvc.UI.Theme.LeptonX\Themes\LeptonX\Components\SideMenu\MainMenu\Default.cshtml

    LeptonX is not adding the custom ID that you can set when you create a Group in the ApplicationMenu

    @foreach (var group in Model.Menu.Groups)
    {
    	var menuItems = Model.Items.Where(x=> x.MenuItem.GroupName == group.Name).ToList();
    	if (menuItems.Any())
    	{
    	//HERE IT'S MISSING THE ELEMENT ID YOU CAN SET WHEN YOU CREATE A GROUP IN THE MENU
    		<li class="group-menu-item hidden-in-hover-trigger">
    			@group.Name
    		</li>
    
    		@foreach (var menuItem in menuItems)
    		{
    			menuItem.IsInRoot = true;
    
    			<li class="outer-menu-item">
    				@await Html.PartialAsync("~/Themes/LeptonX/Components/SideMenu/MainMenu/_MenuItem.cshtml", menuItem)
    			</li>
    		}
    	}
    }
    
  • User Avatar
    0
    maliming created
    Support Team

    Thanks rafael.gonzales

    I will check this.

  • User Avatar
    0
    rafael.gonzales created

    Hello!!! It's me again. I found 2 bugs related to datepickers.

    One of them, is related to ABP Framework and I created an issue here https://github.com/abpframework/abp/issues/18985

    The other one is related to ABP Commercial. If you see the Loom video, you can see that I create an entity with a date value on day 17 but when I try to edit, It will display on day 16 in the date picker. https://www.loom.com/share/77c5c42318af4ff8b16f16e8729a7a66?sid=4c20182b-6621-4e39-9dd0-1f721967b51c

    I was able to fix it by modifying the generated index.js in this line

    (new Date(date)).toLocaleDateString(abp.localization.currentCulture.name);

    with this

    (new Date(date)).toLocaleDateString(abp.localization.currentCulture.name, {timeZone: 'UTC'});

    This seems to happen in my timezone (GMT-5).

  • User Avatar
    0
    serdar.genc@talentra.net created

    Have you checked the SqlClient version in the ABP packages? ( for .Net 8 )

    https://github.com/dotnet/SqlClient/issues/1930

  • User Avatar
    0
    serdar.genc@talentra.net created

    Have you checked the SqlClient version in the ABP packages? ( for .Net 8 )

    https://github.com/dotnet/SqlClient/issues/1930

    https://github.com/dotnet/SqlClient/issues/1930#issuecomment-1856787970

  • User Avatar
    0
    salih created
    Support Team

    Hello!!! It's me again. I found 2 bugs related to datepickers.

    One of them, is related to ABP Framework and I created an issue here https://github.com/abpframework/abp/issues/18985

    The other one is related to ABP Commercial.
    If you see the Loom video, you can see that I create an entity with a date value on day 17 but when I try to edit, It will display on day 16 in the date picker. https://www.loom.com/share/77c5c42318af4ff8b16f16e8729a7a66?sid=4c20182b-6621-4e39-9dd0-1f721967b51c

    I was able to fix it by modifying the generated index.js in this line

    (new Date(date)).toLocaleDateString(abp.localization.currentCulture.name);

    with this

    (new Date(date)).toLocaleDateString(abp.localization.currentCulture.name, {timeZone: 'UTC'});

    This seems to happen in my timezone (GMT-5).

    Firefox problem: https://github.com/abpframework/abp/pull/18998 I couldn't reproduce your other problem. Can you share a sample project for this? My e-mail address is salih.ozkara@volosoft.com

  • User Avatar
    0
    n.uerkmez created

    Version 8.0.2 (Angular - EFCore)

    After updating to Abp 8.0.2, extra properties for Tenant and OrganizationUnit entities defined in the ModuleExtensionConfigurator file which need to be selected by lookup as described here: https://docs.abp.io/en/abp/latest/Module-Entity-Extensions#navigation-properties-foreign-keys result in the following frontend error: No provider for NgControl found in NodeInjector.

    The error also occurs in a fresh minimal project. Hi @EngincanV, Is there a fix or workaround for this issue?

  • User Avatar
    0
    rafael.gonzales created

    salih.ozkara@volosoft.com

    Sure, I will send you my demo project but one hint. Change you're region to South America (for example Peru) and set your timezone too to GMT-5.

  • User Avatar
    0
    salih created
    Support Team

    salih.ozkara@volosoft.com

    Sure, I will send you my demo project but one hint. Change you're region to South America (for example Peru) and set your timezone too to GMT-5.

    If you sent your demo project, it did not reach me. Can you send it again via e-mail?

  • User Avatar
    0
    dhill created

    After upgrading from 8.0.2 to 8.0.3 with Blazor Server project we get this error on startup.

    System.TypeLoadException: 'Method 'ButtonStretchedLink' in type 'Blazorise.Bootstrap5.Bootstrap5ClassProvider' from assembly 'Blazorise.Bootstrap5, Version=1.3.2.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'

  • User Avatar
    0
    ageiter created

    After upgrading from 8.0.2 to 8.0.3 with Blazor Server project we get this error on startup.

    System.TypeLoadException: 'Method 'ButtonStretchedLink' in type 'Blazorise.Bootstrap5.Bootstrap5ClassProvider' from assembly 'Blazorise.Bootstrap5, Version=1.3.2.0, Culture=neutral, PublicKeyToken=null' does not have an implementation.'

    I had the same problem. You have to update the Blazorise NuGet packages to version 1.4.2

  • User Avatar
    0
    dhill created

    On Blazor Server

    Issues arise when editing data: occasionally, changes to fields are not saved, and at times, modifications result in required fields being emptied.

  • User Avatar
    0
    rafael.gonzales created

    Hello,

    Can someone create the "Bugs & Issues v8.1.x"?

    Thanks!

  • User Avatar
    0
    rafael.gonzales created

    Please, don't ignore us!

  • User Avatar
    0
    maliming created
    Support Team

    hi rafael.gonzales

    You can create a separate question, and we will refund the question credit for the bug

  • User Avatar
    0
    dhill created

    The suite doesn't really respect custom code blocks. Especially the .Extended classes.

    It would be best if those got ignored unless the file is completely missing.

    Also unit tests really need a . Extended class

  • User Avatar
    0
    n.uerkmez created

    Version 8.0.2 (Angular - EFCore)

    After updating to Abp 8.0.2, extra properties for Tenant and OrganizationUnit entities defined in the ModuleExtensionConfigurator file which need to be selected by lookup as described here: https://docs.abp.io/en/abp/latest/Module-Entity-Extensions#navigation-properties-foreign-keys result in the following frontend error: No provider for NgControl found in NodeInjector.

    The error also occurs in a fresh minimal project. Hi @EngincanV, Is there a fix or workaround for this issue?

    Any update on this regards?

Made with ❤️ on ABP v8.2.0 Updated on February 19, 2024, 12:29