[FLOW3-general] DBAL-Error in Production Environment

Kerstin Huppenbauer kerstin.huppenbauer at die-digiparden.de
Thu Nov 17 13:48:08 CET 2011


Hi,

i'm new to FLOW3 and it's really fun to work with it :-)

But now i have a problem with my model in production environment.

I have 2 models - one "simple" and one with ManyToMany self-referencing 
mapping. it works fine in development environment,
but in production environment only the simple model works, the other
throws an error.

The Model looks like

--- schnipp ---

	/**
	 * children
	 * @var 
\Doctrine\Common\Collections\Collection<\DGP\PIG\Domain\Model\Market>
	 * @ORM\ManyToMany(mappedBy="l10n_parent")
	 */
	protected $children;
	
	/**
	 * l10n_parent
	 * @var 
\Doctrine\Common\Collections\Collection<\DGP\PIG\Domain\Model\Market>
	 * @ORM\ManyToMany(inversedBy="children")
	 * @ORM\JoinTable(inverseJoinColumns={@ORM\JoinColumn(name="l10n_parent")})
	 */
	protected $l10n_parent;

--- schnapp ---

The exection which is thrown is:
Uncaught exception #42S22 in line 618 of 
/usr/DEFAULT/docroot/Base/Packages/Framework/Doctrine/Classes/DBAL/Connection.php: 
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'd0_.l10n_parent' 
in 'field list'

Development und Production Environment uses the same Database and the 
field l10n_parent exists in the join table.

Where is my mistake?


Cheers Kerstin


More information about the FLOW3-general mailing list