[Flow] Mapping Problem
Ali Reza Sajedi
arsajedi at khanehjou.com
Wed Mar 12 14:10:34 CET 2014
Dear All,
I have an object called "Kloster" and a OneToMany/ManyToOne association with another object called "Klosterstandort" like:
/**
* @Flow\Entity
*/
class Kloster {
/**
* @var \Doctrine\Common\Collections\Collection<\SUB\Germaniasacra\Domain\Model\Klosterstandort>
* @ORM\OneToMany(mappedBy="kloster", cascade={"all"}, orphanRemoval=true)
*/
protected $klosterstandorts
}
/**
* @Flow\Entity
*/
class Klosterstandort {
/**
* @var \SUB\Germaniasacra\Domain\Model\Kloster
* @ORM\ManyToOne(inversedBy="klosterstandorts")
*/
protected $kloster;
}
When I try to update an entry I get the following error message:
#1297759968: Exception while property mapping for target type "SUB\Germaniasacra\Domain\Model\Kloster", at property path "klosterstandorts.gruender": Object with identity "Pfarrer Reinhold (1. Dekan)" not found.
The property of the "klosterstandort" which concerns here is called "gruender" (an array):
<f:form.textarea property="klosterstandorts.gruender" value="{klosterstandort.gruender}" />
I appreciate any hint as to what could be the cause.
Thank you.
Ali
More information about the Flow
mailing list