3 Answer(s)
-
0
Hi @MarturAbpUser
Thank you for reaching out. Could you please share your ASP.NET Power Tools version, your ASP.NET Zero project version, and your project's
aspnet-core/AspNetZeroRadTool/DefectPage.Defect.jsonfile with us? This file stores the settings you enter in Power Tools when creating entities. This will allow us to reproduce the issue on our end. Thank you.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
DefectPage.Defect.json
{ "IsRegenerate": false, "MenuPosition": "main", "RelativeNamespace": "DefectPage", "EntityName": "Defect", "EntityNamePlural": "Defects", "TableName": "Defects", "PrimaryKeyType": "int", "BaseClass": "Entity", "EntityHistory": false, "AutoMigration": true, "UpdateDatabase": true, "CreateUserInterface": true, "CreateViewOnly": true, "CreateExcelExport": false, "CreateExcelImport": false, "IsNonModalCRUDPage": true, "IsMasterDetailPage": false, "GenerateOverridableEntity": false, "GenerateUnitTest": false, "GenerateUiTest": false, "GenerateMobile": false, "CreateMauiView": false, "PagePermission": { "Host": false, "Tenant": true }, "Properties": [ { "Name": "DefectCode", "Type": "string", "MaxLength": 20, "MinLength": 1, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": false, "List": true, "ListMaui": false, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} }, { "Name": "DefectName", "Type": "string", "MaxLength": 100, "MinLength": 3, "Range": { "IsRangeSet": false, "MinimumValue": 0.0, "MaximumValue": 0.0 }, "Required": true, "Nullable": false, "Regex": "", "IsMultiLingual": false, "UserInterface": { "AdvancedFilter": false, "List": true, "ListMaui": false, "CreateOrUpdate": true }, "ViewType": null, "AdditionalData": {} } ], "NavigationProperties": [], "NavigationPropertyOneToManyTables": [], "EnumDefinitions": [], "DbContext": null }
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @MarturAbpUser
Have you tried regenerating this entity using the Regenerate feature in ASP.NET Zero Power Tools? We couldn’t reproduce the issue on our side when testing the same scenario.
Please make sure that there are no lint errors on the Angular side during generation, and that the file path and name have not been changed. Also, ensure that your database is in sync with your migrations by opening the EntityFrameworkCore project folder in the terminal and running:
dotnet ef database updateIf the issue persists after regenerating, please don’t hesitate to contact us again.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)





