-
Notifications
You must be signed in to change notification settings - Fork 530
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
Fix sync - updating source string from VCS not working #3506
Fix sync - updating source string from VCS not working #3506
Conversation
Can you add more details on the issue/behavior you're trying to fix, so that it can be reproduced? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs to include a test case that fails with the current code, but passes with the changes. It's not at all clear what entity change is not getting picked up by the current code.
There are also two parts to this change: How differences are identified, and whether the previous or next entity is used in Entity.objects.bulk_update()
. Are both changes required?
As mentioned, can you clarify the behavior you're trying to fix? Do you have a specific example (ideally a minimal case) of what is not working and with what content? |
Yes. I updated the PR description earlier. Here are more details of the behavior:
|
I was able to reproduce the problem in mozilla-l10n/pontoon-test@bcad647. |
cea209a
to
f938280
Compare
After source string changed in the git repo, a project sync won't update the source string in the Pontoon project. Tested with a json formatted source file.