Activities of "alper"

we have 3 frontend options, that's why we are still working on Blazor, MVC and Angular UIs. but we came to the final stages.

it's fixed.

will be fixed today

this is fixed. will be released with 5.1.2

Answer

I have a problem with abp suite 5.1.1 Entity Generator alway said [ERR] Index was out of range I Re-install, cleanup,... nothing help.

The suite log:

2022-01-14 13:19:01.975 +07:00 [INF] Route matched with {controller = "crudPageGenerator", action = "SaveAndGenerateEntity", area = "", page = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[Microsoft.AspNetCore.Mvc.NoContentResult] SaveAndGenerateEntityAsync(System.Guid, Volo.Abp.Suite.Models.EntityModel) on controller Volo.Abp.Suite.Controllers.CrudPageGeneratorController (Volo.Abp.Suite). 
2022-01-14 13:19:02.116 +07:00 [INF]  
=== ENTITY GENERATION STARTED ===  
* SOLUTION: CSM.ServiceRouting 
* ENTITY:{ 
  "Id": "18d0ecee-c901-4012-8f62-74aa388e9256", 
  "Name": "Channel", 
  "OriginalName": "Channel", 
  "NamePlural": "Channels", 
  "DatabaseTableName": "Channels", 
  "Namespace": "Channels", 
  "BaseClass": "Entity", 
  "PrimaryKeyType": "Guid", 
  "IsMultiTenant": false, 
  "ShouldCreateUserInterface": true, 
  "ShouldCreateBackend": true, 
  "ShouldAddMigration": true, 
  "ShouldUpdateDatabase": true, 
  "CreateTests": true, 
  "Properties": [ 
    { 
      "Id": "6c2e9664-63b2-4dc5-9d80-ea7ae467917f", 
      "Name": "Type", 
      "Type": "enum", 
      "EnumType": "ChannelType", 
      "EnumNamespace": "CSM.ServiceRouting", 
      "EnumAngularImport": "shared/enums/channel-type", 
      "IsNullable": false, 
      "IsRequired": false, 
      "MinLength": null, 
      "MaxLength": null, 
      "SortOrder": 0, 
      "SortType": 0, 
      "Regex": "", 
      "EmailValidation": false, 
      "EnumValues": { 
        "Email": null, 
        "Message": null, 
        "Telephone": null 
      }, 
      "IsSelected": true 
    }, 
    { 
      "Id": "85ebf5b9-f626-4962-bf6b-1cb95a884b4d", 
      "Name": "Name", 
      "Type": "string", 
      "EnumType": "", 
      "EnumNamespace": "", 
      "EnumAngularImport": "shared/enums", 
      "IsNullable": false, 
      "IsRequired": false, 
      "MinLength": null, 
      "MaxLength": null, 
      "SortOrder": 0, 
      "SortType": 0, 
      "Regex": "", 
      "EmailValidation": false, 
      "EnumValues": null, 
      "IsSelected": true 
    } 
  ], 
  "NavigationProperties": [], 
  "PhysicalFileName": "Channel.json" 
} 
 
2022-01-14 13:19:02.117 +07:00 [INF] 1/11 - EntityGenerateCommand started... 
2022-01-14 13:19:03.805 +07:00 [ERR] ---------- RemoteServiceErrorInfo ---------- 
{ 
  "code": null, 
  "message": "An internal error occurred during your request!", 
  "details": null, 
  "data": {}, 
  "validationErrors": null 
} 
 
2022-01-14 13:19:03.815 +07:00 [ERR] Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex') 
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection. (Parameter 'startIndex') 
   at System.Globalization.CompareInfo.IndexOf(String source, String value, Int32 startIndex, Int32 count, CompareOptions options) 
   at System.String.IndexOf(String value, Int32 startIndex, Int32 count, StringComparison comparisonType) 
   at System.String.IndexOf(String value, Int32 startIndex, StringComparison comparisonType) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.F1AAu43krY(String  , String  , String  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.IBpAlr5Quy(String  , String  , Boolean  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.MYcAWPr5GZ(String  , String  , Boolean  , DatabaseProvider  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.yreAdjUhWH(String  , DatabaseProvider  ) 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.cqSAJdEgpq() 
   at Volo.Abp.Suite.Areas.AbpSuite.CrudPageGenerator.Commands.EntityGenerateCommand.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) 
   at Volo.Abp.Suite.Controllers.CrudPageGeneratorController.SaveAndGenerateEntityAsync(Guid solutionId, EntityModel entity) 
   at lambda_method2108(Closure , Object ) 
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) 
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>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) 
2022-01-14 13:19:03.847 +07:00 [INF] Executing ObjectResult, writing value of type 'Volo.Abp.Http.RemoteServiceErrorResponse'. 

this might be related to the file-scoped namespaces. we have created an internal issue and will be fixed 5.1.2

tested against MS-SQL Server with schema but couldn't reproduce the issue

you didn't mention your database ? (oracle/MS-SQL/PostgreSQL ....) tested against Oracle

Answer

thanks for the feedback. it'll be fixed

this is most probably an Identity Server misconfiguration problem. pls check out this document and revise all your Identity Server configuration https://docs.abp.io/en/commercial/latest/guides/identityserver-deployment

for the backend you can check out this document https://docs.abp.io/en/abp/latest/Customizing-Application-Modules-Overriding-Services

Showing 461 to 470 of 1868 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11