[Tickets #13092] Re: Can't create new folders via Ingo app

noreply at bugs.horde.org noreply at bugs.horde.org
Wed Apr 2 13:15:22 UTC 2014


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

Ticket URL: http://bugs.horde.org/ticket/13092
------------------------------------------------------------------------------
  Ticket             | 13092
  Updated By         | maciej.uhlig at us.edu.pl
  Summary            | Can't create new folders via Ingo app
  Queue              | Ingo
  Version            | 3.1.4
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


maciej.uhlig at us.edu.pl (2014-04-02 13:15) wrote:

> Please follow the hints at  
> http://wiki.horde.org/FAQ/Admin/Troubleshoot#wsod to generate and  
> find a useful error message.

Actually that was not easy. Only one line was found:

Could not validate IMAP mailbox. [pid 8036 on line 27 of  
"/usr/share/pear/Horde/Core/Notification/Handler/Decorator/Hordelog.php"]

I had to do some handjob with the code. This is what I've found:

Let's take line 128 of .\ingo\lib\Ingo.php:

        if (isset($vars->$new_id)) {

$vars->$new_id is equal to "newfoldernameIgave"

However,

  isset($vars->$new_id) evaluates to FALSE (!!!). Therefore mailbox is  
not created and validation fails.

Replacing line 128 by:

if ( true ) {

allows correct Spam folder creation.

In this case however "Save and disable" later produces another PHP error.

I hope you can sort it out properly.





More information about the bugs mailing list