We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
create
Describe the bug EasyActivity creates logs with incorrect subject data for created entity while using a transaction.
To Reproduce
class PaymentMethod { public function __construct( private string $description, private bool $preferred, ) { // The body is not required } public function setPreferred(bool $preferred): self { $this->preferred = $preferred; return $this; } } $paymentMethod = new PaymentMethod(description: 'something', preferred: true); $this->entityManager->persist($paymentMethod); $this->entityManager->transactional(function () use ($paymentMethod) { $paymentMethod->setPreferred(false); $this->entityManager->flush(); $paymentMethod->setPreferred(true); });
I'm getting the ['preferred' => true] subject data.
['preferred' => true]
Expected behavior I'm expecting to get the ['description' => 'something', 'preferred' => true] subject data.
['description' => 'something', 'preferred' => true]
The text was updated successfully, but these errors were encountered:
@itorgov is this issue still actual?
Sorry, something went wrong.
@itorgov is this still an issue?
@natepage Yes, it's still actual. I've reproduced it on eonx-com/easy-activity:5.3.2.
eonx-com/easy-activity:5.3.2
@itorgov thanks for checking, do you need help with this?
feature/easy-doctrine-fix-887-issue
2356d5c
- Fixed the `https://github.com/eonx-com/easy-monorepo/issues/887` issue.
itorgov
No branches or pull requests
Describe the bug
EasyActivity creates logs with incorrect subject data for created entity while using a transaction.
To Reproduce
I'm getting the
['preferred' => true]
subject data.Expected behavior
I'm expecting to get the
['description' => 'something', 'preferred' => true]
subject data.The text was updated successfully, but these errors were encountered: