After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 592730 - gio.File.move() overwrites when moving from trash
gio.File.move() overwrites when moving from trash
Status: RESOLVED DUPLICATE of bug 596618
Product: glib
Classification: Platform
Component: gio
2.21.x
Other Linux
: Normal normal
: ---
Assigned To: gtkdev
gtkdev
Depends on:
Blocks:
 
 
Reported: 2009-08-22 17:49 UTC by ulrik sverdrup
Modified: 2009-10-08 15:52 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description ulrik sverdrup 2009-08-22 17:49:46 UTC
I have debian/testing
libglib2.0-0 2.21.4-1

Using python bindings to access glib and gio

In my application it appears that when moving files from trash, gio.File.move(destination_gfile) will proceed without errors, even if the destination exists. gio should return an error here (py bindings will convert to an exception). Can this really be the case?
Comment 1 Cosimo Cecchi 2009-10-08 15:52:03 UTC
Thanks for taking the time to report this bug.
This particular bug has already been reported into our bug tracking system, but we are happy to tell you that the problem has already been fixed. It should be solved in the next software version. You may want to check for a software upgrade.

*** This bug has been marked as a duplicate of bug 596617 ***
Comment 2 Cosimo Cecchi 2009-10-08 15:52:20 UTC
Ops, wrong dup.

*** This bug has been marked as a duplicate of bug 596618 ***