Closed (fixed)
Project:
Backup and Migrate
Version:
5.0.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2021 at 20:46 UTC
Updated:
11 Jun 2021 at 07:39 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
larisse commentedHi!
The problem was because the name of function that been call was wrong. Fixing the name of function, it works.
This patch fix the problem!
Comment #3
damienmckennaThanks larisse!
@bart lambert: Could you test the patch please, let us know if it solves the problem for you.
Comment #4
hmendes commentedHello!
Tested patch from #2 and it worked, but I saw that when trying to import an encrypted file without checking the decryption checkbox, it shows the error "The file cannot be imported.". Wouldn't it be better to show the user that the error was related to not decrypting the file?
Apart from this suggestion, it appears that the patch solves the problem.
Tested with Drupal 9.1.8 and 'Backup and Migrate' 5.0.x-dev.
Comment #5
bart lambert commentedworks like a charm now! thanks!
Comment #6
damienmckennaThat's excellent news, thank you both for testing patch #2.
I created #3216193: Improve error handling when backup cannot be decryption if the archive is encrypt for improving the error message - that was a good idea hmendes, thank you.
Committed.