Ends in:
5 DAYS
20 HRS
56 MIN
41 SEC
Ends in:
5 D
20 H
56 M
41 S
Open Closed

Double uppercase entity with navigation cause datatable error #2950


User avatar
0
Mikael created
  • ABP Framework version: v5.2.1 stable/Suite 5.2.1 (but same issue happened in 5.1.4)
  • UI type: MVC
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace: DataTables warning: table id=EXMailboxesTable - Requested unknown parameter 'eXMailbox.name' for row 0, column 1. For more information about this error, please see http://datatables.net/tn/4
  • Steps to reproduce the issue:"

Create two entities in ABP Suite with first 2 letters Uppercase ex: EXMailbox and EXGroup Add navigation property (one to many)

Create a new EXMailbox and select a EXGroup, the error is raised when you come back to the list of EXMailbox

I don't know if there is any documentation specifying that we cannot use double uppercase at the beginning of the entity name... ?


2 Answer(s)
  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Hi @Mikael,

    I don't know if there is any documentation specifying that we cannot use double uppercase at the beginning of the entity name... ?

    No, we don't have such restriction. This is probably related with a differency between camelCase convertions.

    I'll create an internall issue and fix it asap. Thank you for reporting, your question credit is refunded.

  • User Avatar
    0
    yekalkan created
    Support Team Fullstack Developer

    Fyi, you can fix it by this convertion in column definitions in index.js file:

    eXMailbox > exMailbox eXGroup > exGroup

Made with ❤️ on ABP v9.1.0-preview. Updated on November 26, 2024, 12:49