Merge branch 'issue83_ACCent_addDocument_toAction' into 'master'

cascade persist added to Activity::documents

See merge request Chill-Projet/chill-bundles!197
This commit is contained in:
LenaertsJ 2021-11-04 11:44:57 +00:00
commit 261810374f
2 changed files with 3 additions and 1 deletions

View File

@ -12,6 +12,7 @@ and this project adheres to
<!-- write down unreleased development here --> <!-- write down unreleased development here -->
* [activity] Bugfix: documents can now be added to an activity.
* [tasks] improve tasks with filter order * [tasks] improve tasks with filter order
* [tasks] refactor singleControllerTasks: limit the number of conditions from the context * [tasks] refactor singleControllerTasks: limit the number of conditions from the context
* [validations] validation of accompanying period added: no duplicate participations or resources (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/60). * [validations] validation of accompanying period added: no duplicate participations or resources (https://gitlab.com/champs-libres/departement-de-la-vendee/accent-suivi-developpement/-/issues/60).
@ -22,6 +23,7 @@ and this project adheres to
* [activity]: perform client-side validation & show/hide fields in the "new location" modal * [activity]: perform client-side validation & show/hide fields in the "new location" modal
* [admin]: links to activity admin section added again. * [admin]: links to activity admin section added again.
## Test releases ## Test releases
### Test release 2021-10-27 ### Test release 2021-10-27

View File

@ -158,7 +158,7 @@ class Activity implements HasCenterInterface, HasScopeInterface, AccompanyingPer
private ?Collection $thirdParties = null; private ?Collection $thirdParties = null;
/** /**
* @ORM\ManyToMany(targetEntity="Chill\DocStoreBundle\Entity\StoredObject") * @ORM\ManyToMany(targetEntity="Chill\DocStoreBundle\Entity\StoredObject", cascade={"persist"})
*/ */
private Collection $documents; private Collection $documents;