foundry
foundry copied to clipboard
Chaining Confusion
I'm not sure if this is a bug, but it feels like one. I am using version 1.38.5
If I have a basic factory that extends PersistentProxyObjectFactory, and then I do the following, I get some unexpected results.
`
$reflectionBox = ContentComponentItemFactory::createOne();
$reflectionBox->setQuestionnaire($questionnaire->_real());
$reflectionBox->setQuestionnaireQuestion($question->_real());
$reflectionBox->_save();
dump($reflectionBox->getQuestionnaire()); // returns null instead of the expected questionnaire
dump($reflectionBox->getQuestionnaireQuestion(); // returns the question as expected
`
Hello,
it seems like a bug...
could you please provide a reproducer?
thanks!
Yes. I'll put one together
I'm closing this issue which is stale for more than 3 months. Feel free to reopen it if needed