Log message #3893754

# At Username Text
# Jun 13th 2016, 18:43 Nicolas13860 bon on est d'accord du coup :-)
# Jun 13th 2016, 18:42 Nicolas13860 mais c'était pas logique lol
# Jun 13th 2016, 18:42 Nicolas13860 j'avais fait le plus simple j'avais juste mis le nom du modele
# Jun 13th 2016, 18:41 Nicolas13860 maintenant si tu spécifie pas l'url = il prend l'url du controller courant et plus l'url du controller correspondant au model spécifié (si spécifié)
# Jun 13th 2016, 18:41 Nicolas13860 voila
# Jun 13th 2016, 18:41 SpoutBE en spécifiant url => controller
# Jun 13th 2016, 18:41 Nicolas13860 oui
# Jun 13th 2016, 18:40 Nicolas13860 avant c'était possible aussi
# Jun 13th 2016, 18:40 SpoutBE oui mais ça c'était qd même déjà possible avant
# Jun 13th 2016, 18:40 Nicolas13860 là c'est mieux ainsi ils ont bien fait de faire une maj. Car on peut avoir dans le form les datas d'un model et l'url d'un controller différent
# Jun 13th 2016, 18:40 Nicolas13860 ;-)
# Jun 13th 2016, 18:38 SpoutBE trop d'automagie tue l'automagie :D
# Jun 13th 2016, 18:38 SpoutBE Le controller est généré à partir de l'inflexion plurielle du model
# Jun 13th 2016, 18:37 SpoutBE Et Nicolas13860 a bien raison, j'ai eu du mal aussi à le croire: https://github.com/cakephp/cakephp/blob/2.7.11/lib/Cake/View/Helper/FormHelper.php#L392
# Jun 13th 2016, 18:37 GuillaumeP Salut les kids
# Jun 13th 2016, 18:36 SpoutBE 'action' est deprecated mais 'url' fonctionne tjs
# Jun 13th 2016, 18:36 Nicolas13860 The action option in FormHelper::create() has been deprecated, as it was in 3.x. Note that this now makes the action key of an array URL consistently respected for the generation of the DOM ID. If you used the deprecated key you will want to compare the generated ID for forms before and after your upgrade.
# Jun 13th 2016, 18:35 Nicolas13860 mais avant ca appelait l'add de blog comment (ca devait prendre le controller correspondant au model précisé)
# Jun 13th 2016, 18:34 Nicolas13860 ce qui est logique
# Jun 13th 2016, 18:34 Nicolas13860 s13 je vois ce que tu veux dire. Oui actuellement si je précise pas ca appelle le add de blogArticle
# Jun 13th 2016, 18:34 s13 bah du moment que ca fonctionne pour toi
# Jun 13th 2016, 18:34 Nicolas13860 dans le changelog 2.8.4 ca a p-e un rapport
# Jun 13th 2016, 18:33 Nicolas13860 A regression introduced in 2.8.0 in FormHelper when handling the deprecated action option has been fixed. (@markstory)
# Jun 13th 2016, 18:33 Nicolas13860 non add de blogComment
# Jun 13th 2016, 18:33 s13 ben tu appeles add de blogArticle
# Jun 13th 2016, 18:33 Nicolas13860 ca fonctionnait puisque j'ai eu 26 comments
# Jun 13th 2016, 18:32 Nicolas13860 view.ctp (blogArticles)
# Jun 13th 2016, 18:32 s13 et tu etais dans quel vues
# Jun 13th 2016, 18:32 Nicolas13860 celle ligne est dans un vue de BlogArticles
# Jun 13th 2016, 18:32 Nicolas13860 je ne précisais pas le controller
# Jun 13th 2016, 18:32 Nicolas13860 archive du 1er mai 2016
# Jun 13th 2016, 18:32 Nicolas13860 echo $this->Form->create('BlogComment', array('action' => 'add'));
# Jun 13th 2016, 18:30 Nicolas13860 attends je look dans les archives de la prod
# Jun 13th 2016, 18:30 Nicolas13860 j'ai check dans mes archives
# Jun 13th 2016, 18:29 Nicolas13860 alors que là ca marchait plus /model_du_controller/add
# Jun 13th 2016, 18:29 Nicolas13860 et ca générait /modele_précisé/add
# Jun 13th 2016, 18:29 Nicolas13860 je mettais juste action = "add"
# Jun 13th 2016, 18:28 Nicolas13860 non ;-)
# Jun 13th 2016, 18:28 s13 ben que tu te trompes et qu'il fallait tjs préciser le controller :p
# Jun 13th 2016, 18:26 Nicolas13860 fausse manip dsl ^^
# Jun 13th 2016, 18:26 Nicolas13860 echo $this->Form->create('BlogComment', array(