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

Importing multiple project backups in the same session leads to corrupted import #8900

Closed
2 tasks done
Bubu opened this issue Mar 8, 2023 · 2 comments
Closed
2 tasks done
Assignees
Labels
bug Something is broken.
Milestone

Comments

@Bubu
Copy link
Contributor

Bubu commented Mar 8, 2023

Describe the issue

When trying to import a second project without clearing your browser session in-between (I don't think a logout + login was enough to fix this) leads to the second project import being corrupted by the first project data.

With a clean browser session the second project can be correctly imported.

I already tried

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

Steps to reproduce the behavior

  1. Export two separate projects from another weblate instance
  2. login to the new weblate instance
  3. import project 1, verify it's imported correctly.
  4. import project 2, see it contains data from project 1

Expected behavior

Importing subsequent projects works correctly.

Screenshots

No response

Exception traceback

No response

How do you run Weblate?

Docker container

Weblate versions

This was last reported with weblate 4.15.2 (all versions from the docker container).

Weblate deploy checks

No response

Additional context

Codeberg.org tracking issue for this: https://codeberg.org/Codeberg/Community/issues/769

@nijel nijel self-assigned this Mar 8, 2023
@nijel nijel added the bug Something is broken. label Mar 8, 2023
@nijel nijel added this to the 4.17 milestone Mar 8, 2023
@nijel nijel closed this as completed in 8293ff8 Mar 8, 2023
@github-actions
Copy link

github-actions bot commented Mar 8, 2023

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.

@Bubu
Copy link
Contributor Author

Bubu commented Mar 8, 2023

Thanks for the insanely quick fix! (I should really have reported this here earlier, but I was pretty swamped when this first came up for us.)

@nijel nijel modified the milestones: 4.17, 4.16.3 Mar 15, 2023
nijel added a commit that referenced this issue Mar 15, 2023
The detection of new upload was broken and thus lead to mixing up
session data with previous upload.

Fixes #8900
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