New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Versionable loading foreign objects broken. #198

Closed
martinj opened this Issue Nov 23, 2011 · 0 comments

Comments

Projects
None yet
2 participants
@martinj
Contributor

martinj commented Nov 23, 2011

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

@willdurand willdurand closed this Dec 29, 2012

richmulhern pushed a commit to AriaSystems/Propel that referenced this issue Jun 4, 2014

Fixed so versionable behavior loads correct relations when populating…
… from a an older version.

See propelorm#198 for more info about this issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment