Start the project with docker-compose up
Go to localhost:8000/admin
Create a new Person
with an invalid email (email without @).
The validation message is not displayed on the invalid email but instead at the top of the form.
Verify that this is an indexing issue by adding another invalid email.
Now the message for email 2 is displayed on the email 1 and email 2 has no validation message attached.
Verify that the indexing works when the collection was not empty prior to editing.
Create a Person
with one valid email and save it.
Edit the Person
and add invalid email. Now the invalid email has the correct message atached.
If you get the error symfony_app | error: failed switching to "root": operation not permitted
after you stopped the container with ctrl+c
, you need to run docker-compose down
to remove the container and then docker-compose up
to start it again. That should fix the issue.