UJM-dev / ExoBundle

A Claroline plugin to create exercises
Other
5 stars 12 forks source link

Completed the inversedBy field for $question. #141

Closed remytms closed 8 years ago

remytms commented 8 years ago

When running doctrine:schema:validate it gave a mapping error : The field UJM\ExoBundle\Entity\Question#exerciseQuestions is on the inverse side of a bi-directional relationship, but the specified mappedBy association on the target-entity UJM\ExoBundle\Entity\ExerciseQuestion#question does not contain the required 'inversedBy="exerciseQuestions"' attribute.

david42 commented 8 years ago

Thanks for your PR. We don't work directly in the master, we use the V6 branch. The entity "ExerciseQuestion" will replace by the entity "StepQuestion". However, your good observation will be considered in this entity.