The test code doesn't seem to work with the most recent version(0.5).
For more information:
http://code.google.com/p/caldav4j/wiki/CreateCaldavQuery
the latest version is 0.6. you can get it thru maven.
Peace,
R.
Are these examples a bit outdated perhaps? I can't even find the
QueryGenerator class in the caldav4j-0.7-SNAPSHOT.
Are there any other examples/how-to's available - showing how to connect to
a server and run a simple query?
I will look asap. Please check in CaldavCollection.java for examples.
Hi,
there is an arror in example:
qg.setFilter("VEVENT [start;end] : UID==value1 ,
DTSTART==[start,end],DESCRIPTION==UNDEF, SUMMARY!=not my summary,")
i think must be ";" and not ","
from ... DTSTART==[start,end] ...
to ... DTSTART==[start;end] ...
same error is present in
src/main/java/org/osaf/caldav4j/util/GenerateQuery.java
bye
Hi, ther's an error in example:
{{{
qg.setFilter("VEVENT [start;end] : UID==value1 ,
DTSTART==[start,end],DESCRIPTION==UNDEF, SUMMARY!=not my summary,")
}}}
i think must be ";" and not ","
{{{
from ... DTSTART==[start,end] ...
to ... DTSTART==[start;end] ...
}}}
Same error is present in
Hi, i'm tring to get a list of events inside a calendar (Zimbra) using
caldav4j.
I'm using this code (snippet)
//....
//event inserted correctly at 01/12/2012 (i can see it from a web client)
//....
//now query for interval...
Date now = ICalendarUtils.createDateTime(2012, 0, 1, 0, 0, null, true);
Date end = ICalendarUtils.createDateTime(2022, 0, 1, 0, 0, null, true);
List<Calendar> events = cdm.getEventResources(now, end);
//events size always returns 0, even if ther are many events in the interval
Can you please give me some hints about?
The log (log4j) apparently reported no problems or exception.
Thanks in advance.
Even if i've
2012/1/12 <cald...@googlecode.com>:
> Hi, i'm tring to get a list of events inside a calendar (Zimbra) using
> caldav4j.
Which caldav4j release?
Are you sure Zimbra supports your Caldav REPORT request?
Can you post the request content?
Peace,
R.
Hi Michele,
which caldav4j version are you using?
Please check if zimbra caldav implementation supports date-range queries.
Let me know,
R
Ok, thanks Roberto.
By the way i've checked out (SVN) Caldav4j in December 2011,
but now i'll try with the last version.
Zimbra (caldav impl) seems to supports date-range queries since
5.0.16 version. There was a bug reported here
http://bugzilla.zimbra.com/show_bug.cgi?id=36022
but has been fixed.
I'm testing Caldav4j on Zimbra 6.0.3.
Related to the query problem on Zimbra posted before.
SW versions tested:
- Zimbra 6.0.3
- Version Caldav4j : caldav4j-0.7.jar
In my tests the methods
- getEventResources(..)
- getEventResourcesByMonth(..)
that are defined in class
org.osaf.caldav4j.example.CalDavCollectionManager
return always an empty list,
even if in the time interval selected there are some events.
Any suggestions?
Thanks.
Michele