You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pabloelcolombiano I am curious if you attempted reproducing this in an actual application? I also updated the issue with more code to reproduce the issue.
In CakePHP 4.2 and Fixture Factory 2.4. I am fairly certain you can reproduce this when using
persist()
to get the entity as well.Steps to reproduce
FooFactory:
Expected Result
$foo->getOriginal('test')
outputsNULL
More Context
This bug is not present with the following setup in the
FooFactory
class:With this the following code works as expected:
I hope this is clear.
The text was updated successfully, but these errors were encountered: