Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 299646 - Messages mixed up after restoring an email from "Junk" folder in thunderbird-3.0
Summary: Messages mixed up after restoring an email from "Junk" folder in thunderbird-3.0
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-04 18:06 UTC by Christophe
Modified: 2010-12-30 03:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe 2010-01-04 18:06:55 UTC
Am email I received when to Junk Mail. I clicked on "Not Junk" and move it back to the Inbox by dragging the message on the Inbox folder. 

Now in the panel listing message, I can see the Subject and From field, but when selected the message displayed below is not the correct one - it displays a completely different email. The "restored" email is not in the Junk folder anymore and therefore seems to be lost.

Restarting thunderbird did not solve it.

All other emails are still ok, but this one.   



Reproducible: Couldn't Reproduce

Steps to Reproduce:
1. If a message go to Junk, marked as Not Junk
2. Drag it back to inbox folder
3.




Portage 2.1.6.13 (default/linux/amd64/10.0/desktop, gcc-4.3.4, glibc-2.9_p20081201-r2, 2.6.31-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.31-gentoo-r6-x86_64-Intel-R-_Core-TM-_i7_CPU_920_@_2.67GHz-with-gentoo-2.0.1
Timestamp of tree: Mon, 04 Jan 2010 05:15:02 +0000
app-shells/bash:     4.0_p35
dev-java/java-config: 2.1.9-r1
dev-lang/python:     2.6.4
dev-python/pycrypto: 2.0.1-r8
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.4.3-r5
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://mirrors.tera-byte.com/pub/gentoo http://www.gtlib.gatech.edu/pub/gentoo "
LANG="C"
LC_ALL="en_US.utf8"
LDFLAGS="-Wl,-O1"
LINGUAS="en"
MAKEOPTS="-j1"
PKGDIR="/usr/local/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/layman/sabayon /usr/local/portage/overlays/main /usr/local/portage/overlays/edma"
SYNC="rsync://192.168.10.140/gentoo-portage"
USE="X a52 aac acpi alsa amd64 apache2 applet audacious automount avahi bash-completion berkdb blas branding bzip2 cairo caps cdparanoia cdr cli consolekit cracklib cups cxx daap dbus disk-partition divx dri dts dvd dvdr dvi emboss emerald encode evo fam fbcondecor ffmpeg fftw firefox flac font-server foomaticdb fortran gdbm gif gimp glitz glut gmedia gnome gpm gsf gstreamer gtk hal hddtemp iconv icotools id3tag jpeg lapack ldap libburn libnotify lm_sensors mad matroska mikmod mmkeys mmx mng modules mono mp3 mp4 mpeg mudflap multilib mysql nautilus ncurses network networkmanager nfs nonfsv4 nptl nptlonly nsplugin nvidia ogg ole openal opengl openmp pam pcre pdf perl plotutils png policykit ppds pppd pulseaudio pygrub python qt4 quicktime readline realmedia reflection samba screen sdl sensord server session skins slang smp sourceview spell spl sse sse2 ssl startup-notification stream svg sysfs syslog tcpd theora threads thunar thunderbird tiff totem truetype unicode usb v4l v4l2 vnc vorbis winetools wma wmp wxwindows x264 xine xinerama xml xorg xscreensaver xulrunner xv xvid xvmc zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jory A. Pratt gentoo-dev 2010-01-04 22:41:11 UTC
3.0 is designed to move the message automatically from junk forlder minute is is marked as non junk. If this is an update from 2.0 thunderbird you will need to recreate the problem with a fresh profile. Let us know either way, I have not seen a problem at all, but is possible that the bug exists. If you would also check to ensure the message is correct on the providers server.
Comment 2 Christophe 2010-01-04 23:04:32 UTC
Thanks for the idea - I went by the web interface and the message is fine on the server - which is good news for me. But this also would confirm the mixed up indexes in the thunderbird "database". Should there be (or is there) a way to force thunderbird to recheck emails on server and fix the local cache ?

FYI on my account settings, Junk is set to be sent to a local trash folder. I tested marking a message Junk and then using the Not Junk button does not sent it back to the Inbox. It marks it as unread but stayed in the Junk folder. I am guessing the automatic move back only works if you keep the default settings of using the Junk folder on server (IMAP).

I upgraded thunderbird to 3.0 so it is not a new profile.
Comment 3 Jory A. Pratt gentoo-dev 2010-01-05 01:23:04 UTC
What version of dev-db/sqlite do you have installed, I noticed I did not update the dep to depend on 3.6.20 which is a mistake on my behalf.
Comment 4 Christophe 2010-01-05 03:42:44 UTC
I have sqlite-3.6.20-r1 so unless it needs 3.6.21, it should be ok.
Comment 5 Christophe 2010-01-15 22:26:55 UTC
Got a second incident. Same problem. Index got screwed up when dragging a "junk" email back to the inbox.

However I found the "Rebuild Index" button on the Inbox folder properties and it fixed both error - restoring both emails.

So not a critical error anymore. Still a bug.
Comment 6 Jory A. Pratt gentoo-dev 2010-08-01 17:01:28 UTC
Can you still duplicate this with 3.1.1?
Comment 7 Jory A. Pratt gentoo-dev 2010-12-30 03:14:20 UTC
4+ months with no activity, reopen if new info is provided.