-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
The updatedAt
timestamp does not change for translatable entities when their translations are updated
#1464
Comments
Hi @michaelbromley, I want to sync product data to another system and it would make it easier if i could check if the products is updated since the last sync. Do you have any idea about how to solve this issue or ay idea about how to make a workaround for this issue? If you have a if you have a rough idea of how to solve it, maybe we can help. Thanks in advance /Tim |
Hi, I think a solution would involve modifying the TranslatableSaver.update() method so that it manually sets the A work-around that you could use for now though would be to define a custom field on the product which stores the last update time, and use the EventBus to subscribe to changes with the |
/bounty $30 |
💎 $30 bounty • VendureSteps to solve:
Thank you for contributing to vendure-ecommerce/vendure! Add a bounty • Share on socials
|
💡 @furo321 submitted a pull request that claims the bounty. You can visit your bounty board to reward. |
The
updatedAt
column of translatable entities (e.g. Product) does not change when their translations are updated - only the translation'supdatedAt
column does. The intuitive expectation would be: When I change a product's name, itsupdatedAt
timestamp should change too.The text was updated successfully, but these errors were encountered: