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

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
Do you need assistance from an ABP expert?
Schedule a Meeting
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v9.2.0-preview. Updated on March 13, 2025, 04:08