Summary | nag dies on empty dates |
Queue | Nag |
Queue Version | Git master |
Type | Bug |
State | Resolved |
Priority | 1. Low |
Owners | |
Requester | jmozdzen (at) nde (dot) ag |
Created | 11/21/2012 (4619 days ago) |
Due | |
Updated | 11/23/2012 (4617 days ago) |
Assigned | 11/22/2012 (4618 days ago) |
Resolved | 11/22/2012 (4618 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | Yes |
preferences (may data back to Horde1) and started from scratch.
I'm now unable to reproduce the problem.
case closed.
[Thu Nov 22 22:10:15 2012] [error] [client 192.168.101.26] PHP Fatal
error: Call to a member function format() on a non-object in
/srv/www/htdocs/horde5/nag/lib/Driver/Kolab.php on line 129
I added debug output (outputing start-date and due-date if not an
object) and see it reporting twice the value for "due-date":
"1269523800".
So for me, your fix doesn't work. Anything I should check for,
probably in my environment?
Regards,
Jens
State ⇒ Resolved
commit c8e17ed12fe986629fcad2eaf3f7fcce9ebb8e78
Author: Gunnar Wrobel <p@rdus.de>
Date: Thu Nov 22 20:00:54 2012 +0100
[gwr] Ignore empty dates (
Bug #11736).nag/lib/Driver/Kolab.php | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/c8e17ed12fe986629fcad2eaf3f7fcce9ebb8e78
commit 8a25730a64ec3e5eba6fcfe462196fc487280a54
Author: Gunnar Wrobel <p@rdus.de>
Date: Thu Nov 22 20:00:02 2012 +0100
[gwr] Ignore empty dates (
Bug #11736).nag/docs/CHANGES | 1 +
nag/package.xml | 2 ++
2 files changed, 3 insertions(+), 0 deletions(-)
http://git.horde.org/horde-git/-/commit/8a25730a64ec3e5eba6fcfe462196fc487280a54
New Attachment: badtask
(as stored by Cyrus IMAP server).
Some parts of the text needed to be "anonymized" but both the
structure and the content in general is left intact.
Thanks for your help!
message from your tasks folder that triggers that behavior.
the C/C++ world and rather unexperienced in PHP debugging.
I had *guessed* that it is a string instead of an object, but how can
I find out easily (what debug statement would I have to put into the
code, intp the "else" case of my added check)?
State ⇒ Feedback
Priority ⇒ 1. Low
tasks, as soon as a task without due date is encountered.
set and NOT an object, what, exactly, is it?
Patch ⇒ Yes
State ⇒ Unconfirmed
New Attachment: 0001-improve-robustness-against-empty-dates.patch
Milestone ⇒
Queue ⇒ Nag
Summary ⇒ nag dies on empty dates
Type ⇒ Bug
Priority ⇒ 3. High
tasks, as soon as a task without due date is encountered.
The attached patch makes sure that start-date and end-data are
actually objects, so that there's at least a chance that the format()
method may exist.