Ubuntu

[imap] moving a folder results in its deletion

Reported by Michał Sawicz on 2012-03-16
64
This bug affects 12 people
Affects Status Importance Assigned to Milestone
Evolution
Expired
Critical
evolution (Ubuntu)
High
Mathieu Trudel-Lapierre
Precise
High
Unassigned
Quantal
High
Mathieu Trudel-Lapierre

Bug Description

Steps to reproduce:
1. drag a folder onto another folder

Expected results:
1. folder is moved with its contents to be a subfolder of the folder that it was dropped on

Current results:
1. the folder in question gets deleted along with its contents

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: evolution 3.2.3-0ubuntu3
ProcVersionSignature: Ubuntu 3.2.0-18.29-generic 3.2.9
Uname: Linux 3.2.0-18-generic x86_64
NonfreeKernelModules: nvidia wl
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Fri Mar 16 20:04:23 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120226)
SourcePackage: evolution
UpgradeStatus: No upgrade log present (probably fresh install)

Michał Sawicz (saviq) wrote :

sounds like a serious data loss bug, assigning to the desktop team to take a look

Changed in evolution (Ubuntu):
assignee: nobody → Canonical Desktop Team (canonical-desktop-team)
importance: Undecided → High
Martin Pitt (pitti) wrote :

Mathieu, as you are the closest thing to a "resident Evolution master", would you mind having a look at this? If it's reproducible, we should at least forward it upstream, and perhaps disable the drag&drop functionality as a workaround if it isn't easy to fix properly.

Thanks!

Changed in evolution (Ubuntu):
assignee: Canonical Desktop Team (canonical-desktop-team) → Mathieu Trudel-Lapierre (mathieu-tl)
Martin Pitt (pitti) wrote :

Err, sorry about "closest thing"! I just realized that might sound quite rude.

I can't successfully reproduce this.

Michał, would you be able to offer more details, such as at least what kind of account is in use where you can reproduce the issue? Is it a Maildir, mbox, or other kind of account?

Michał Sawicz (saviq) wrote :

Hey, it's a Maildir over "IMAP+" (dovecot).

I'll investigate more and try and report, it might be limited to my current account setup or something.

Will also try and get as much logs as possible from both sides.

Michał Sawicz (saviq) wrote :

Hey, I can reproduce on a "clean" account, didn't yet try in a clean Evolution setup as Guest user, will do so and report back. I'm attaching the camel debug log and an uninteresting dovecot log.

Michał Sawicz (saviq) wrote :
Michał Sawicz (saviq) wrote :

Reproduced in a guest account, got some IMAP logs, too.

Michał Sawicz (saviq) wrote :

If I read file 20120327-151048-20023.in correctly:

> D00046 DELETE "Templates.Test 1"
> D00048 RENAME "Templates.Test 1" "Test 1"

That does sound quite like "rm -Rf /" to me...

Steps to (reliably) reproduce:
* create a folder
* create a subfolder under <folder>
* move <folder> under another folder
* move <folder> back under account
* repeat until Evolution reports "no such folder"

Changed in evolution (Ubuntu):
status: New → Confirmed

So yes, I can indeed reproduce this (my issues were unrelated, just a sadly configured instance).

I'm unable to make enough sense of it to tackle this myself, but I've file the bug upstream.

Changed in evolution:
importance: Unknown → Critical
status: Unknown → New
Ross Gayler (r-gayler) wrote :

I don't know if this is related, but I have just encountered some Evolution folder-moving weirdness in 11.10.

I was trying to rename or move various local folders (maildir) and would get error messages about non-existent folders/files. I would restart Evolution and then things would look (more) OK. Looking at the folder structure in the file system it appeared that the folders were being renamed in the background (these were big folder hierarchies with hundreds of nested folders) and while the filesysten rename was in progress the Evolution folders wouldn't play nice. (There was also no indication in Evolution that a background operation was running.)

Also, when the top-level evolution folder had subfolders but no messages the corresponding filesystem folder didn't exist. If I created a corresponding folder in the filesystem I was then able to rename the folder in Evolution.

Ross, sounds to me like what you are seeing is actually a different issue. Could you please file a bug for that particular case and comment back here with the bug number so that I can get back to it and triage it? Please make sure to use 'ubuntu-bug evolution'.
Thanks!

Changed in evolution:
status: New → Incomplete
Changed in evolution (Ubuntu Precise):
status: New → Confirmed
importance: Undecided → High
Sebastien Bacher (seb128) wrote :

Is that still an issue in quantal?

Changed in evolution (Ubuntu Quantal):
milestone: none → quantal-updates
Changed in evolution:
status: Incomplete → Expired
Jörg Frings-Fürst (jff-de) wrote :

see gnome-bugs: RESOLVED OBSOLETE
please change status to Won't fix

Jörg Frings-Fürst (jff-de) wrote :

change status to invalid

Changed in evolution (Ubuntu):
status: Confirmed → Invalid
Changed in evolution (Ubuntu Precise):
status: Confirmed → Invalid
Changed in evolution (Ubuntu Quantal):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.