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

fix: restore tempfile created 0 B #464

Closed
wants to merge 4 commits into from

Conversation

rsommerard
Copy link

@rsommerard rsommerard commented Oct 6, 2022

Type of PR (feature, enhancement, bug fix, etc.)

Description

File coming from external server like FTP are not well restored due to this error: Restore tempfile created 0 B

I don't know if the fix is the good way to do it.

Fixes #463

@codecov
Copy link

codecov bot commented Oct 6, 2022

Codecov Report

Merging #464 (76cd4ec) into master (af443c5) will increase coverage by 0.04%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master     #464      +/-   ##
==========================================
+ Coverage   92.15%   92.20%   +0.04%     
==========================================
  Files          16       16              
  Lines         676      680       +4     
  Branches      141      142       +1     
==========================================
+ Hits          623      627       +4     
  Misses         30       30              
  Partials       23       23              
Impacted Files Coverage Δ
dbbackup/management/commands/dbrestore.py 96.29% <100.00%> (+0.29%) ⬆️

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@Archmonger
Copy link
Contributor

Hey @rsommerard

Can you please add tests for this edge case?

@Archmonger
Copy link
Contributor

Marking as draft until tests are added.

@Archmonger Archmonger marked this pull request as draft November 2, 2022 07:54
@Archmonger
Copy link
Contributor

Closing due to failing tests and no response from author.

@Archmonger Archmonger closed this Aug 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Restore tempfile created: 0 B
2 participants