CakeDC/cakephp-oracle-driver

5.x Foreign keys not selected

Closed this issue · 0 comments

When driver search for foreign keys doesn't converts the related column names in the selected case, so throw the following error:

Error: [InvalidArgumentException] Unable to load `Roles` association. 
Ensure foreign key in `Users` is selected. in /var/www/html/vendor/cakephp/cakephp/src/ORM/EagerLoader.php on line 662