[Tickets #8468] Re: Renaming public folder is wrong

bugs at horde.org bugs at horde.org
Thu Aug 6 06:33:07 UTC 2009


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

Ticket URL: http://bugs.horde.org/ticket/8468
------------------------------------------------------------------------------
  Ticket             | 8468
  Updated By         | frank.richter at hrz.tu-chemnitz.de
  Summary            | Renaming public folder is wrong
  Queue              | IMP
  Version            | 4.3.4
  Type               | Bug
  State              | Feedback
  Priority           | 2. Medium
  Milestone          | 4.3.5
  Patch              |
  Owners             | Michael Slusarz
------------------------------------------------------------------------------


frank.richter at hrz.tu-chemnitz.de (2009-08-06 02:33) wrote:

>> http://cvs.horde.org/diff.php/imp/folders.php?rt=horde&r1=2.309.2.44&r2=2.309.2.45&ty=u
>
> Try this patch.

I have to change
   $old_names = array_map('trim', explode("\n",  
Horde_Util::getFormData('old_names')));
   $new_names = array_map('trim', explode("\n",  
Horde_Util::getFormData('new_names')));
to:
   $old_names = array_map('trim', explode("\n",  
Util::getFormData('old_names')));
   $new_names = array_map('trim', explode("\n",  
Util::getFormData('new_names')));

(otherwise it exits - empty page in browser).

With this, yes, it works:
  - renaming folder in INBOX namespace
  - renaming folder within shared namespace
  - renaming a shared folder to INBOX: Give INBOX.foldername as new  
folder name, that's ok.

Thank you very much,
Frank






More information about the bugs mailing list