Skip to content
Snippets Groups Projects
Commit 51009e0d authored by Nicolas Jager's avatar Nicolas Jager Committed by Guillaume Roguez
Browse files

migration : fix migrateAccount()


- bug : if readArchive() line 1410 throw an exception, migrateAccount()
will return without emiting any signal.

- you can reproduce it by passing a wrong password to readArchive().

- this patch fix the try catch by adding a signal before the return.

- fix a missing else line 1421. Whitout it, whenever if
updateCertificates return true, a Migration::State::INVALID signal is
emited. Wich also leads when updateCertificates is true to emit two
opposite signals.

Change-Id: Id3bdbe6ef852095793af7802c75559d033b9f890
Reviewed-by: default avatarGuillaume Roguez <guillaume.roguez@savoirfairelinux.com>
parent f57e51ef
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment