Activities of "jhsanc"

This is the detail of log API:

[ { "code": null, "message": "ModelState is not valid! See ValidationErrors for details.", "details": "AbpValidationException: ModelState is not valid! See ValidationErrors for details.\r\nLos siguientes errores fueron detectados durante la validación.\r\n - El campo Name es requerido.\r\n\r\nSTACK TRACE: at Volo.Abp.AspNetCore.Mvc.Validation.ModelStateValidator.Validate(ModelStateDictionary modelState)\r\n at Volo.Abp.AspNetCore.Mvc.Validation.AbpValidationActionFilter.OnActionExecutionAsync(ActionExecutingContext context, ActionExecutionDelegate next)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()\r\n--- End of stack trace from previous location ---\r\n at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)\r\n", "data": null, "validationErrors": [ { "message": "El campo Name es requerido.", "members": [ "name" ] } ] } ]

  • ABP Framework version: v5.0.0 rc.1
  • UI type: Blazor Wasm
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes It's possible add relationship of my table to FileManager Tables?. And I saw Blazorise FileEdit Component but the Changed="@OnChanged" this event was never triggered, do you have any example to use this component to upload files into FileManager module.

Thank you,

  • ABP Framework version: v5.0.0 rc1

  • UI type: Blazor Wasm

  • DB provider: EF Core

  • Tiered (MVC) or Identity Server Separated (Angular): no

  • Exception message and stack trace: When I added File Manament Pro Module to my solution and I tried to upload a file display this error: But not exists any field to filled the name.

  • Steps to reproduce the issue:" Create a new solution using abp suite. Add File Management module to my solution. Try to upload file.

hi

https://support.abp.io/QA/Questions/631/Support-for-many-to-one-and-many-to-many-relationships https://community.abp.io/articles/many-to-many-relationship-with-abp-and-ef-core-g7rm2qut

Thank you.

Question

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v5.0.0
  • UI type: Blazor WebAssembly
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no

Is planned create many to many table relationship using abp suite?. And is there any easy steps to create many to many table CRUD in commercial version? Or maybe an example in commercial to implement this relationship in our software project.

Thank you,

hi

I couldn't reproduce it because there's no modal in Blazor Web Assembly project. Here's my test result

Please go to advance and see UI Pick up dropdown you can see modal option.

  • ABP Framework version: v5.0.0
  • UI type: Blazor WebAssembly
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Steps to reproduce the issue:"
  • Using abp suite, if I select navigation property with UI Pick Type: Modal
  • This not create a modal, always create autocomplete:

Thank you,

Hi,

It is now easier to create the relationship between the entity and the user, you just need to use IdentityUser as the navigation property.

Example:

public class MyEntity : ... 
{ 
  public Guid IdentityUserId {get;set;} 
  public IdentityUser IdentityUser {get;set;} 
} 

Hello this relationship definition create the next warning:

The foreign key property 'Person.IdentityUserId1' was created in shadow state because a conflicting property with the simple name 'IdentityUserId' exists in the entity type, but is either not mapped, is already used for another relationship, or is incompatible with the associated primary key type. See https://aka.ms/efcore-relationships for information on mapping relationships in EF Core.

Also , can you share the steps? it may a problem, we should fix it if so.

Sure, I'm using abp suite to generate the code, then I create new entity called Person and define a navigation property in abp suite: This create a repository with this method, but this method not found because Users not exists en current db context. Users is not defined in DbSets

Showing 61 to 70 of 94 entries
Made with ❤️ on ABP v9.0.0-preview Updated on September 20, 2024, 08:30