[Tickets #5604] Re: ListMessages endless loop

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Aug 6 00:24:35 UTC 2007


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

Ticket URL: http://bugs.horde.org/ticket/?id=5604
-----------------------------------------------------------------------
 Ticket             | 5604
 Updated By         | vokac at kmlinux.fjfi.cvut.cz
 Summary            | ListMessages endless loop
 Queue              | DIMP
 Version            | 1.0-ALPHA
 Type               | Bug
 State              | Feedback
 Priority           | 3. High
 Owners             | 
-----------------------------------------------------------------------


vokac at kmlinux.fjfi.cvut.cz (2007-08-05 17:24) wrote:

> If that box does *NOT* have a json extension, then this is a bug in 
> Horde_Serialize_JSON and we should add a unit test for it - if this 
> is the case it'd be helpful if you could include a var_export of the 
> $result object so we can toss it into the test quickly.

Yes, PHP on CentOS5 doesn't have json extension. If I use var_export on
original code, I get this output:

    'msglist' => 
  stdClass::__set_state(array(
  )),

but when I remove typecast to "object", I get different output:

    'msglist' => 
  array (
    1 => 1,
    2 => 2,
    3 => 3,
  ),




More information about the bugs mailing list