Problem with nested Editor

Problem with nested Editor

BjornHaBjornHa Posts: 14Questions: 3Answers: 0
edited September 4 in Free community support

Working case, no nested editing:
Options: (options in table (#persons))
Files: (files in table (#customerdocuments))

Faulting case:
Datatables trace debugger cant analyze the result (spinning for more than 10 minutes), most likely hanging on the options/files error (as console errors appear).

"Uncaught Unknown file table name: customerfiles"
Fa @ dataTables.editor.min.js:41
Ea @ dataTables.editor.min.js:41

Excerpt from data result:
files":{"customerfiles":{"591":{"id":"591","file_name":"Avropskontrakt Inera Pro4u 2019-09-01 2020-12-31 signed.pdf","file_mime":null,"file_path":"\/home\/site\/AzureFiles\/ClientAgreements\/Inera AB\/Avropskontrakt Inera Pro4u 2019-09-01 2020-12-31 signed.pdf","web_path":null},"592".......

Will supply link if result changes.

Description of problem:
Files and Options are not treated correctly when using nested editing:
Correct data is returned in the midle layer to #Datatables_Table_X.
In Editor, dropdowns with options are empty and displaying file names instead of key index is not working correctly. Example:

customerdoceditor.file('customerfiles', docID).file_name

Editor version 2.0.5 (same behavior in all previous versions of 2.0.X that I have checked, 2.0.2, 2.0.4 and 2.0.5)
All used extensions and DataTables are current

Björn Hasselberg

This question has an accepted answers - jump to answer


  • allanallan Posts: 54,917Questions: 1Answers: 8,610 Site admin
    Answer ✓

    Hi Björn,

    I think I might need a link to your page to help debug this one. Can you drop me a message with a link?


  • BjornHaBjornHa Posts: 14Questions: 3Answers: 0

    Hi Allan,

    We have already an offline diskussion that is on this topic from june/july I believe.

    Could we continue there?
    I will post a message in there now for you to catch it up.

    Bjørn H

  • BjornHaBjornHa Posts: 14Questions: 3Answers: 0

    Hello Allan,

    To be able to provide you with a link I also need a valid email address to enable a guest account at our site. Could you please send one in a PM?

    Bjørn H

Sign In or Register to comment.