We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For example, Article hasOne ArticleTranslation
$articles->find('all')->select(['ArticleTranslation.title'])->toArray();
Results in:
Notice: Undefined index: Articles in /var/www/cakephp.dev/plugins/ShadowTranslate/vendor/cakephp/cakephp/src/ORM/ResultSet.php on line 379
The text was updated successfully, but these errors were encountered:
Fix notice error in ResultSet.
4a99d68
When the originating table has no fields selected, a notice error should not be triggered. Refs #5267
Closing as #5301 is open.
Sorry, something went wrong.
Add integration test for #5267
fa9b7f8
markstory
No branches or pull requests
For example, Article hasOne ArticleTranslation
Results in:
The text was updated successfully, but these errors were encountered: