Base solution for your next web application
Open Closed

Column Sort Error (MVC/JQuery) #7406


User avatar
0
sean.alford created

What do I need to do to enable sorting?

I get an interal error when I try to sort a column by clicking on it.

Error State No property or field 'processSpecificationName' exists in type 'ProcessSpecificationItem' (at index 0)


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team

    Can you share the complete error message in the front end and application backend? You can refer to the pagination function code in Zero: https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/wwwroot/view-resources/Areas/AppAreaName/Views/Users/Index. Js#L241

  • User Avatar
    0
    maliming created
    Support Team

    The front end you can view the chrome console. The error log of the backend is generally located in App_Data/Logs/Logs.txt

  • User Avatar
    0
    sean.alford created

    @Maliming no worries! Thanks for your support!

  • User Avatar
    0
    maliming created
    Support Team

    Can you share the code of the GetAll method of ProcessesAppService? Including Process class

    Looks like a problem with Dynamic Linq .

  • User Avatar
    0
    ashgadala created

    Can you please post the resolution for this as well.I have the similar error.

  • User Avatar
    1
    ashgadala created

    I see that we have already fixed this issue.

    You need to apply this commit to your project: https://github.com/aspnetzero/aspnet-zero-core/commit/097461f7249e772c20a9ab5306a4c59b14c9ec90