composer fails to autoload DataTables\Editor\Mjoin

composer fails to autoload DataTables\Editor\Mjoin

jamesj2jamesj2 Posts: 6Questions: 3Answers: 0

Using example Join tables - working with multiple SQL tables with Datatables Editor 1.9 and composer -a dump-autoload. It fails to load the Mjoin class. If I leave off the --classmap-authoritative (-a) option it works.

There is a case difference in the class name in the example's use statement and the actual class. The datatables.net/editor-php/Editor/Mjoin.php uses class MJoin extends Join while the filename of the class and example code uses Mjoin.

Answers

  • allanallan Posts: 63,678Questions: 1Answers: 10,497 Site admin

    Thanks for pointing that out! That's going to be a frustrating one to fix... I'll have it done for 1.9.1.

    Allan

This discussion has been closed.