[Tickets #4014] NEW: imp display a warning if 2 values are identical in the imap server CAPABILITIES

bugs@bugs.horde.org bugs at bugs.horde.org
Wed Jun 7 05:35:30 PDT 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=4014
-----------------------------------------------------------------------
 Ticket             | 4014
 Created By         | sylvain.costard at uhb.fr
 Summary            | imp display a warning if 2 values are identical in the imap server CAPABILITIES
 Queue              | IMP
 Version            | 4.1.1
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
+New Attachment     | imp-4.1.1-capabilities.diff
-----------------------------------------------------------------------


sylvain.costard at uhb.fr (2006-06-07 05:35) wrote:

After upgrading imap in 2.3.6 i got the warning :   Cannot use a scalar
value as an array in
<b>/applis/Internet/horde-3.1.1/imp-h3-4.1.1/lib/IMAP/Client.php</b> on line
<b>656</b><br />

this is due to two consecutive values with the same keys in the imap
Capabilities.

here is the detail of the capabilities (the SORT fallowed by  SORT=MODSEQ
was the problem) :

    [0] =&gt; *
    [1] =&gt; CAPABILITY
    [2] =&gt; IMAP4
    [3] =&gt; IMAP4rev1
    [4] =&gt; LITERAL+
    [5] =&gt; ID
    [6] =&gt; AUTH=PLAIN
    [7] =&gt; SASL-IR
    [8] =&gt; ACL
    [9] =&gt; RIGHTS=kxte
    [10] =&gt; QUOTA
    [11] =&gt; MAILBOX-REFERRALS
    [12] =&gt; NAMESPACE
    [13] =&gt; UIDPLUS
    [14] =&gt; NO_ATOMIC_RENAME
    [15] =&gt; UNSELECT
    [16] =&gt; CHILDREN
    [17] =&gt; MULTIAPPEND
    [18] =&gt; BINARY
    [19] =&gt; SORT
    [20] =&gt; SORT=MODSEQ
    [21] =&gt; THREAD=ORDEREDSUBJECT
    [22] =&gt; THREAD=REFERENCES
    [23] =&gt; ANNOTATEMORE
    [24] =&gt; CATENATE
    [25] =&gt; CONDSTORE
    [26] =&gt; IDLE
    [27] =&gt; LISTEXT
    [28] =&gt; LIST-SUBSCRIBED
    [29] =&gt; X-NETSCAPE
    [30] =&gt; URLAUTH

the patch adds a condition in the test to see if the value is already an
array





More information about the bugs mailing list