[umbrello] [Bug 406574] Can't load from *.xmi file (possibly error with temporary file)

Ralf Habacker bugzilla_noreply at kde.org
Sat Apr 27 02:26:43 BST 2019


Ralf Habacker <ralf.habacker at freenet.de> changed:

           What    |Removed                     |Added
         Resolution|---                         |FIXED
             Status|CONFIRMED                   |RESOLVED
      Latest Commit|                            |https://commits.kde.org/umb
                   |                            |rello/04580cac31b1f1a1491a1
                   |                            |fc54cfc4c724ce50cd9
   Version Fixed In|                            |2.28.0 (KDE Applications
                   |                            |19.04.0)

--- Comment #7 from Ralf Habacker <ralf.habacker at freenet.de> ---
Git commit 04580cac31b1f1a1491a1fc54cfc4c724ce50cd9 by Ralf Habacker.
Committed on 27/04/2019 at 01:26.
Pushed by habacker into branch 'Applications/19.04'.

file import: do not use overwritten temporary file

We checked if the temporary file we created still exists after its creation,
yet in the meantime we have already copied to it (which overwrites it):
KIO::FileCopyJob *job = KIO::file_copy(url, dest, -1, KIO::Overwrite);

Instead of the temporary file, check if the regular file we use later on

This bug is a result of fixing bug 125102.
Related: bug 125102
FIXED-IN:2.28.0 (KDE Applications 19.04.0)

Reviewed By: habacker
Differential Revision: https://phabricator.kde.org/D20775

M  +4    -4    umbrello/umldoc.cpp


You are receiving this mail because:
You are the assignee for the bug.

More information about the umbrello-devel mailing list