[Tickets #2257] NEW: Search error for 'All Past' and 'All Future'

bugs@bugs.horde.org bugs at bugs.horde.org
Tue Jul 12 11:59:28 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2257
-----------------------------------------------------------------------
 Ticket             | 2257
 Created By         | csacca at thecsl.org
 Summary            | Search error for 'All Past' and 'All Future'
 Queue              | Kronolith
 Version            | 2.0.3
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


csacca at thecsl.org (2005-07-12 11:59) wrote:

When performing a search in kronolith, and using the time frames all past or
all future, I get the following error:
Fatal error: Call to a member function on a non-object in
/usr/share/horde3/kronolith/lib/Driver.php on line 98 (or 97)

Through var_dump()'ing $query, I found that it's because $query->start or
$query->end is set to null.  In HEAD, this happend on lines 74-79 of
search.php.  It seems that you either need to set the values for ->start and
->end to real, though almost infinite times, or build logic into
lib/Driver.php to deal with the case that one of them is null.

I'd be willing to patch this, but I'm not sure on which way to go.

Thanks,

Chris Sacca




More information about the bugs mailing list