Hi,
RQ 0.85 loses attachments and it is reproducible. If I insert a new
attachment and then, quickly, I use the addressbook, RQ loses the attachments, also the single attachment.
I read about a similar issue but it was talk about more attachments included contemporaneously but it also does with individual attachment.
The problem is that when, after inserting an attachment, I work on RQ inserting quickly addressbook, it erased data COMPOSE_DATA in the user session.
The same thing when I insert a addressbook and then quickly insert an attachment it is lost or when I insert and addressbook while RQ is uploading an attachment.
In my address book there are many contacts like 20000 so the search needs few seconds.
There are sync problems in the sessions update. I tried with mysql sessions or mem_cache sessions, it's indifferent.
For the moment I have a workaround that instead of saving the attachment data COMPOSE_DATA in user session it saves them in the temp folder and use it to send attachments and it works.
Thank Marco Marcantelli
On 02/26/2013 09:40 AM, kaifamm@libero.it wrote:
RQ 0.85 loses attachments and it is reproducible. If I insert a new
attachment and then, quickly, I use the addressbook, RQ loses the attachments, also the single attachment.
We have a ticket for this issue, http://trac.roundcube.net/ticket/1488422
For the moment I have a workaround that instead of saving the attachment data COMPOSE_DATA in user session it saves them in the temp folder and use it to send attachments and it works.
This won't work for all cases (multi-server env). I suppose we'll extend attachment handling plugins in a way which will store metadata not in the session, but in cache maybe.
On Tue, Feb 26, 2013 at 9:52 AM, A.L.E.C alec@alec.pl wrote:
On 02/26/2013 09:40 AM, kaifamm@libero.it wrote:
RQ 0.85 loses attachments and it is reproducible. If I insert a new
attachment and then, quickly, I use the addressbook, RQ loses the attachments, also the single attachment.
We have a ticket for this issue, http://trac.roundcube.net/ticket/1488422
A fix for this was just committed: https://github.com/roundcube/roundcubemail/commit/f0a7159c4019
Please pull the latest version from git master and verify if this solves the problem fo you.
~Thomas
On Tue, Feb 26, 2013 at 9:40 AM, kaifamm@libero.it kaifamm@libero.it wrote:
Hi,
RQ 0.85 loses attachments and it is reproducible. If I insert a new
attachment and then, quickly, I use the addressbook, RQ loses the attachments, also the single attachment.
I read about a similar issue but it was talk about more attachments included contemporaneously but it also does with individual attachment.
The problem is that when, after inserting an attachment, I work on RQ inserting quickly addressbook, it erased data COMPOSE_DATA in the user session.
Wait a minute. There is no COMPOSE_DATA in Roundcube >= 0.8. What version are you running exactly? Recent versions store compose data in the form $_SESSION['compose_data_'.$COMPOSE_ID] and that definitely isn't removed when switching to the address book.
~Thomas