Base solution for your next web application
Open Closed

RadBuilder tool error #7535


User avatar
0
statuscast created

Hi there,

Testing the RadBuilder tool on your latest build (MVC Core).

Seems to work pretty well until I click to edit an entity from the auto-generated page. We get an auto-mapper error. I had to add this to the generated AutoMaping code to get it to work:

MyEntity.CreateMap<CreateOrEditConnectionDto, Connection>().ReverseMap();

Without .ReverseMap() it won't work.

Also, side not, when I log in as host admin in a tenant based solution, the list of tenants isn't showing up. It's Tenant List screen is throwing a client side JS error:

app-layout-libs.min.js?v=g6gt-C76H3VvibVmf0J3u-xkk3mFZIjo_GrDDjkUkPM:4333 Uncaught TypeError: $.url is not a function at HTMLDocument.<anonymous> (tenant-index-libs.min.js?v=iHGpPK5vcmM9d0qfdGjS7owWMsHrVSY1uM3ccC7U9Gk:535) at mightThrow (app-layout-libs.min.js?v=g6gt-C76H3VvibVmf0J3u-xkk3mFZIjo_GrDDjkUkPM:4040) at process (app-layout-libs.min.js?v=g6gt-C76H3VvibVmf0J3u-xkk3mFZIjo_GrDDjkUkPM:4108)


1 Answer(s)
  • User Avatar
    0
    ryancyq created
    Support Team

    Hi @statuscast, for the js error for tenant list, are you able to replicate in your development enviroent?

    if so, please share the full error stack trace.

    regarding automapper issue, it is currently tracked by https://github.com/aspnetzero/aspnet-zero-core/issues/2541