-
-
Notifications
You must be signed in to change notification settings - Fork 5.3k
Description
Hello Symfony Community,
I am reading the book about Symfony 5: The Fast Track and I spotted a potential Bug in the book, where the content suggest that at the specific moment something is possible to do, but it actually is not.
DETAILS:
This chapter: https://symfony.com/doc/current/the-fast-track/en/9-backend.html
just before 9.2 chapter suggests that it is possible to create a New Comment in Admin dashboards. However, I receive the following error:
This errors tells me that the conference_id
is null
. This is true, because at this very step, we do not have an option to choose to which Conference we want to add a new comment. Yet on the Book's screenshots it looks like it is possible. Now, I am just begining to learn about Backend development, so if this should be somehow 'auto-filled', please let me know what am I missing (I cannot imagine how it can be auto-filled, if I have multiple Conferences defined.. how would it automatically know into which Conference to put the comment to?).
We have 2 Entities: Conference and Comment, where the relationship is OneToMany (Conference -> Comment). This is all generated with ORM and 'make:entity' package. So there is not a lot of code to actually modify by this step, thus I believe there might be a bug either in the book itself (perhaps some missing step?) or with the composer packages that we used in Book.
PS: I am aware I am writting this in Symfony-docs, but in the Book's repository, there is no option to create an Issue. Please move this issue if this is not correct repository or suggest me an URL where to open it.