﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
1488353	Session expired and no printed images after printing emails with in-body images	es9465		"I've found this problem on RoundCube 0.7.1, I don't know if previous version are affected.
 
1. Open an email with in-body pictures. No external pictures (linked to external site) or attached images.
 2. Go to print message function, the one offered by Roundcube (not print function of the internet browser)
 3. Print the message
 4a. Printed email will not have any images (are printed on or more ""X"" and empty boxes)
 4b. When you try to open another message with Roundcube (or to do any other operation), you will be logged out with ""Session invalid or expired"" error.
 
On roundcube log appears errors like this:
 
[07-Feb-2012 10:41:22] MDB2 Error: constraint violation (-3): _doQuery: [Error message: Could not execute statement]
 [Last executed query: EXECUTE mdb2_statement_mysql_4276f1817343f5150143a5c74bbb5 03298eda6579 USING @0, @1, @2]
 [Native code: 1062]
 [Native message: Duplicate entry 'pvcfch944flh80ajp90qv0ct27' for key 'PRIMARY']
 

[07-Feb-2012 10:41:22 +0100]: DB Error: MDB2 Error: constraint violation Query: _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_4276f1817343f5150143a5c74bbb5 03298eda6579 USING @0, @1, @2] [Native code: 1062] [Native message: Duplicate entry 'pvcfch944flh80ajp90qv0ct27' for key 'PRIMARY'] in D:\web\roundcube.mydomain.net\program\include\rcub e_mdb2.php on line 717 (GET /?_task=mail&_action=get&_uid=1552516&_mbox=Sent&_p art=2&_embed=1)
 [07-Feb-2012 10:41:22] MDB2 Error: constraint violation (-3): _doQuery: [Error message: Could not execute statement]
 [Last executed query: EXECUTE mdb2_statement_mysql_426f72c5b510a3c645d3cedf31e4d 6c78b4be3c28 USING @0, @1, @2]
 [Native code: 1062]
 [Native message: Duplicate entry 'pvcfch944flh80ajp90qv0ct27' for key 'PRIMARY']
 

[07-Feb-2012 10:41:22 +0100]: DB Error: MDB2 Error: constraint violation Query: _doQuery: [Error message: Could not execute statement] [Last executed query: EXECUTE mdb2_statement_mysql_426f72c5b510a3c645d3cedf31e4d 6c78b4be3c28 USING @0, @1, @2] [Native code: 1062] [Native message: Duplicate entry 'pvcfch944flh80ajp90qv0ct27' for key 'PRIMARY'] in D:\web\roundcube.mydomain.net\program\include\rcub e_mdb2.php on line 717 (GET /?_task=mail&_action=get&_uid=1552516&_mbox=Sent&_p art=3&_embed=1)
 

My environment is:
 Windows Server 2008 R2 Datacenter Edition
 Apache 2.2.21 + PHP 5.3.8
 MySQL 5.5.19 Community"	Tasks	closed	10 - Lowest	0.8-beta	Other	0.7.1	minor	wontfix		
