Checking 4-beta-3 against the CMS tutorial.
- created the database schema.
- ran the bin/cake bake all xxx to scaffold the app.
- ArticlesController->add() has the line:
$tags = $this->Articles->Tags->find(‘list’, [‘limit’ => 200]);
the SQL generated by this line is:
SELECT Tags.id AS “Tags__id”, Tags.title AS “Tags__title” FROM tags Tags
INNER JOIN articles_tags ArticlesTags ON Tags.id = (ArticlesTags.tag_id) LIMIT 200 - This does not appear to be correct for adding an Article. We just want a list of all Tags to populate the multiple select box…
- The SQL generated by cakePHP 3.8 for the same controller action line is:
SELECT Tags.id AS “Tags__id”, Tags.title AS “Tags__title” FROM tags Tags
i.e. just a list of all the tags.
Even so, fantastic product keep up the good work.