propelorm/Propel — Issue #294: Versionable don't uses all the required namespaces for foreign tables
Author: alphalemon
Created: 2012-02-14 08:10:20+00:00
State: open

Hello,
as exposed for the Archiviable behavior (issue #293), I've got similar problems with the versionable behavior too. In this case it seems that the builder has not declared the foreign versionable peer and queries. I've got a schema like the one below:

[...]

[..]

The behavior works fine until I try to restore from a previous version, because some namespaces are not declared:

use AlphaLemon\AlphaLemonCmsBundle\Model\AlContentVersionPeer;
use AlphaLemon\AlphaLemonCmsBundle\Model\AlContentVersionQuery;