[Kolab-devel] [issue3560] php error when inviting outside of free/busy interval

Thomas Arendsen Hein kolab-issues at intevation.de
Thu Apr 16 12:49:07 CEST 2009


New submission from Thomas Arendsen Hein <thomas at intevation.de>:

Kolab Server 2.2.1 (Kolab_Filter-0.1.4-20090401), but probably CVS HEAD, too:

When inviting a resource more than 60 days (or whatever value was set for
kolabFreeBusyFuture) in the future, it accepts tentatively.

During this an error is logged:
Apr 16 12:32:10 Kolab Filter [error] [horde] PHP Error: Undefined variable:
conflict; Code: 0 [on line 543 of "/kolab/lib/php/Horde/Kolab/Resource.php"]

The current (simplified) code is:

                if ($vfbstart && $dtstart > $this->convert2epoch ($vfbend)) {
                    $outofperiod=1;
                } else {
                    $conflict = ...;
                }

                if ($conflict) {
                    ...manual or reject...
                }

It should be:

                if ($vfbstart && $dtstart > $this->convert2epoch ($vfbend)) {
                    $outofperiod=1;
                } else {
                    $conflict = ...;

                    if ($conflict) {
                        ...manual or reject...
                    }
                }

This clutters the log, but otherwise poses no problem, so only needs to be
fixed for CVS HEAD.

----------
assignedto: wrobel
messages: 19681
nosy: martin, thomas, wilde, wrobel
priority: minor bug
status: unread
title: php error when inviting outside of free/busy interval
topic: filter, server
___________________________________________________
Kolab issue tracker <kolab-issues at intevation.de>
<https://www.intevation.de/roundup/kolab/issue3560>
___________________________________________________




More information about the devel mailing list