Admin panel - CRUD Controllers - No Conference Field in CommentController generated #48193
-
Hello! I'm trying to follow all the steps in the book, so now I generated Entites and CRUD controllers, but for the CommentController the field Conference was not automatically generated... On the Error Screenshot You can see that I have the constraint and conference_id field... Could it be bug in the generator or should I do some extra steps which are not described in the book? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Problem solved by next steps, i.e. by adding "yield AssociationField::new('conference');" into the CommentCrudController.configureFields method. But as long as in the book it is said to "create few comments without photos" on the step where it is impossible to create a comment, so therefore I will leave this topic open until someone will change these steps in the online book. This is my small contribution in fixing mistakes in the book :) PS. I don't know how to report to developers, I didn't find any way to contact except for this discussion place, so I hope, someone here will notice it and will help to report. Thank You very much. |
Beta Was this translation helpful? Give feedback.
Problem solved by next steps, i.e. by adding "yield AssociationField::new('conference');" into the CommentCrudController.configureFields method.
But as long as in the book it is said to "create few comments without photos" on the step where it is impossible to create a comment, so therefore I will leave this topic open until someone will change these steps in the online book. This is my small contribution in fixing mistakes in the book :)
PS. I don't know how to report to developers, I didn't find any way to contact except for this discussion place, so I hope, someone here will notice it and will help to report. Thank You very much.