Skip to content
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 "" file was changed. #7333

Closed
2 tasks done
Belorus opened this issue Mar 2, 2022 · 2 comments
Closed
2 tasks done

The "" file was changed. #7333

Belorus opened this issue Mar 2, 2022 · 2 comments
Assignees
Labels
bug Something is broken.
Milestone

Comments

@Belorus
Copy link

Belorus commented Mar 2, 2022

Describe the issue

image

Sometimes after changing translation i see following line (empty file was changed), and translation is not commited to git and is lost.
I bet that file is not commited, and first git webhook forces weblate to reload tranlsations from git (since file wasn't commited - data is reset to old value).

We have 4.10.1 and use mixed flow (devs change git, translators use website, and git fires webhooks to update weblate)

We have push on commit & squash plugin

There are no good repro steps yet :(

I already tried

  • I've read and searched the documentation.
  • I've searched for similar issues in this repository.

Steps to reproduce the behavior

No response

Expected behavior

No response

Screenshots

image

Exception traceback

No response

How do you run Weblate?

Docker container

Weblate versions

No response

Weblate deploy checks

No response

Additional context

No response

@nijel nijel added the bug Something is broken. label Mar 2, 2022
@nijel nijel added this to the 4.11.1 milestone Mar 2, 2022
@nijel
Copy link
Member

nijel commented Mar 2, 2022

The "" file was changed is a display issue (we're stripping down full path, but the in this case it was stripped twice leading to empty filename in numerous instances).

The file should be committed before the update. Check git history what did happen there (or even git reflog on the server to see what did happen during squashing). Please open a separate issue in case there is some issue in that.

@nijel nijel closed this as completed in 1c0166b Mar 2, 2022
@nijel nijel self-assigned this Mar 2, 2022
@github-actions
Copy link

github-actions bot commented Mar 2, 2022

Thank you for your report; the issue you have reported has just been fixed.

  • In case you see a problem with the fix, please comment on this issue.
  • In case you see a similar problem, please open a separate issue.
  • If you are happy with the outcome, don’t hesitate to support Weblate by making a donation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something is broken.
Projects
None yet
Development

No branches or pull requests

2 participants