Closed Portugao closed 9 years ago
Already there....
Caused by this code:
/**
* Bidirectional - One parent [ticket] has many children [tickets] (INVERSE SIDE).
*
* @ORM\OneToMany(targetEntity="MUTicket_Entity_Ticket", mappedBy="parent", cascade={"remove"})
* @ORM\JoinTable(name="muticket_parentchildren",
* joinColumns={@ORM\JoinColumn(name="parent_id", referencedColumnName="id" )
},
* inverseJoinColumns={@ORM\JoinColumn(name="id", referencedColumnName="id" )
}
* )
* @ORM\OrderBy({"createdDate" = "ASC"})
* @var MUTicket_Entity_Ticket[] $children.
*/
protected $children = null;
Delete the cascade remove will fix it; we have to delete the children by listener or by another way.
Not able to reproduce at the moment. Set all to basic state. Close it. Feel free to reopen.
Hmmhmm...is gone now. Don't know what reasoned this issue. Feel free to reopen.