| Summary | wrong parameter passed |
| Queue | Kronolith |
| Queue Version | Git master |
| Type | Bug |
| State | Resolved |
| Priority | 1. Low |
| Owners | jan (at) horde (dot) org |
| Requester | d-fens (at) 00010111 (dot) de |
| Created | 03/10/2011 (5375 days ago) |
| Due | |
| Updated | 03/10/2011 (5375 days ago) |
| Assigned | |
| Resolved | 03/10/2011 (5375 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | Yes |
State ⇒ Resolved
Fix retrieving event UIDs without date limit (Simon Bühler,
Bug #9651).3 files changed, 4 insertions(+), 2 deletions(-)
http://git.horde.org/horde-git/-/commit/9559bb739a5e1ffb96485411e3199bfbeeb15392
Priority ⇒ 1. Low
Patch ⇒ Yes
Milestone ⇒
Queue ⇒ Kronolith
Summary ⇒ wrong parameter passed
Type ⇒ Bug
State ⇒ Unconfirmed
getting all events doesn't work, must pass null
commit f62d401c1484270c1466d320dde9c93e1b26438a
Author: Simon Bühler <simon@aktionspotenzial.de> 2011-03-10 16:49:55
Committer: Simon Bühler <simon@aktionspotenzial.de> 2011-03-10 16:49:55
Parent: 81d226501bdce3d560da15de3e3f11944bcfc429 (Need to pass 'id' here too.)
Branches: master
fix expected parameter for method call
---------------------------- kronolith/lib/Api.php
----------------------------
diff --git a/kronolith/lib/Api.php b/kronolith/lib/Api.php
index 3959579..2607838 100644
--- a/kronolith/lib/Api.php
+++ b/kronolith/lib/Api.php
@@ -458,10 +458,12 @@
Kronolith::listInternalCalendars(false, Horde_Perms::READ))) {
throw new Horde_Exception_PermissionDenied();
}
+
+
$events = Kronolith::getDriver(null, $calendar)
- ->listEvents(new Horde_Date($startstamp),
- new Horde_Date($endstamp),
+ ->listEvents(($startstamp == 0 ) ? null : new
Horde_Date($startstamp),
+ ($endstamp == 0 ) ? null : new
Horde_Date($endstamp),
false, // recurrence
false, // alarm
false, // no json cache