[Tickets #13108] Re: keep auto saved message in compose window although session is expired

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Apr 16 14:34:07 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/13108
------------------------------------------------------------------------------
  Ticket             | 13108
  Updated By         | lauffer at ph-freiburg.de
  Summary            | keep auto saved message in compose window although
                     | session is expired
  Queue              | IMP
  Version            | 6.1.7
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


lauffer at ph-freiburg.de (2014-04-16 14:34) wrote:

Ok... the auto saved message in draft got deleted in during the logout  
session. So I searched for a task like this and found something in  
imp/lib/Application.php round about line 163.:

    public function logout()
     {
         /* Clean up dangling IMP_Compose objects. */
         foreach (array_keys($GLOBALS['session']->get('imp',  
'compose_cache', Horde_Session::TYPE_ARRAY)) as $key) {
              
$GLOBALS['injector']->getInstance('IMP_Factory_Compose')->create($key)->destroy('cancel');
         }

At the moment my idea would be to temporare remove this foreach().

Question: Are there some known, seriously side effects by doing this?

Maybe I should go deeper and just only find the part where saved  
message in draft got deleted?





More information about the bugs mailing list