https://bugs.kde.org/show_bug.cgi?id=371882
Bug ID: 371882
Summary: Kwalletmanager doesn't export XML file
Product: kwalletmanager
Version: 16.08.2
Platform: Archlinux Packages
OS: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 101913
--> https://bugs.kde.org/attachment.cgi?id=101913&action=edit
Simple fix replacing temporary file with a QFile
I am unable to export the wallet as cleartext XML. The file I select is
created, but remains empty. The problem lies probably in the
KWalletEditor::exportXML()
method, so I started fiddling with it. If I replace the whole temporary file
mechanism with a simple output file, selected with the same QUrl mechanism as
before, the file is correctly created. I checked and the temporary file
contains the data, but it's never written to the selected file. I suspect there
is some problem with KIO::storedput, but I never used the KDE libs nor am I a
Qt expert so I'm not sure.
The attachment contains my naive fix for this bug, although I understand that
this approach breaks some use cases (eg. saving the file to a remote resource).
--
You are receiving this mail because:
You are watching all bug changes.