propelorm/Propel — Issue #198: Versionable loading foreign objects broken.
Author: martinj
Created: 2011-11-23 10:28:25+00:00
State: open

The object->populateFromVersion() will clear all the foreign objects and then it generates a broken query that leaves the relation collections empty thus making a lazy loading later that will get the latest version.

For a complete test case showing this error look at this gist https://gist.github.com/1388309