silverstripe / silverstripe-populate

Populate your database through YAML files
BSD 3-Clause "New" or "Revised" License
26 stars 24 forks source link

PopulateMergeWhen should add ID to fixture stack #7

Closed Zauberfisch closed 9 years ago

Zauberfisch commented 9 years ago

All other occurrences that create objects only save the objects ID to FixtureFactory->fixtures, the PopulateMergeWhen handler added the object instead, causing an error "can nott convert object to int" when being used to set relationships.