| 1 |
Issues: |
|---|
| 2 |
|
|---|
| 3 |
-------------------------------------------------------------------------- |
|---|
| 4 |
Calendars, categories and filters. |
|---|
| 5 |
|
|---|
| 6 |
Probably need to split this out from filters. Categories are a basic feature of |
|---|
| 7 |
the RFC and we also need to be able to formulate queries involving them, e.g |
|---|
| 8 |
|
|---|
| 9 |
select events where <in-specific-calendars> and <some other conditions> |
|---|
| 10 |
|
|---|
| 11 |
-------------------------------------------------------------------------- |
|---|
| 12 |
Durations |
|---|
| 13 |
Specifying an event as a start+duration is part of the RFC. While this can |
|---|
| 14 |
be converted to start+end this may pose problems with sync - the event may |
|---|
| 15 |
still look changed to other devices. |
|---|
| 16 |
|
|---|
| 17 |
Should probably have a duration column added. |
|---|
| 18 |
|
|---|
| 19 |
--------------------------------------------------------------------------- |
|---|
| 20 |
Need to deal with this |
|---|
| 21 |
|
|---|
| 22 |
edu.rpi.cct.webdav.servlet.shared.WebdavIntfException: edu.washington.cac.calfacade.shared.CalFacadeException: java.net.URISyntaxException: Illegal character in scheme name at index 0: http://www.arts.rpi.edu/viewevents.php?cID=100 |
|---|
| 23 |
at edu.rpi.cct.uwcal.caldav.CaldavComponentNode.init(CaldavComponentNode.java:141) |
|---|
| 24 |
at edu.rpi.cct.webdav.servlet.shared.WebdavNsNode.getUri(WebdavNsNode.java:140) |
|---|
| 25 |
at edu.rpi.cct.webdav.servlet.common.PropFindMethod.addHref(PropFindMethod.java:397) |
|---|
| 26 |
at edu.rpi.cct.webdav.servlet.common.PropFindMethod.doNodeProperties(PropFindMethod.java:215) |
|---|
| 27 |
at edu.rpi.cct.uwcal.caldav.ReportMethod.doNode(ReportMethod.java:349) |
|---|
| 28 |
at edu.rpi.cct.uwcal.caldav.ReportMethod.processResp(ReportMethod.java:327) |
|---|
| 29 |
at edu.rpi.cct.uwcal.caldav.ReportMethod.doMethod(ReportMethod.java:106) |
|---|
| 30 |
at edu.rpi.cct.webdav.servlet.common.WebdavServlet.service(WebdavServlet.java:119) |
|---|
| 31 |
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802) |
|---|
| 32 |
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237) |
|---|
| 33 |
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157) |
|---|
| 34 |
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214) |
|---|
| 35 |
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) |
|---|
| 36 |
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) |
|---|
| 37 |
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198) |
|---|
| 38 |
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152) |
|---|
| 39 |
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) |
|---|
| 40 |
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) |
|---|
| 41 |
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137) |
|---|
| 42 |
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) |
|---|
| 43 |
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118) |
|---|
| 44 |
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102) |
|---|
| 45 |
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) |
|---|
| 46 |
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) |
|---|
| 47 |
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104) |
|---|
| 48 |
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520) |
|---|
| 49 |
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929) |
|---|
| 50 |
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160) |
|---|
| 51 |
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799) |
|---|
| 52 |
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705) |
|---|
| 53 |
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577) |
|---|
| 54 |
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683) |
|---|
| 55 |
at java.lang.Thread.run(Thread.java:534) |
|---|
| 56 |
Caused by: edu.washington.cac.calfacade.shared.CalFacadeException: java.net.URISyntaxException: Illegal character in scheme name at index 0: http://www.arts.rpi.edu/viewevents.php?cID=100 |
|---|
| 57 |
at edu.rpi.cct.uwcal.icalendar.IcalTranslator.toIcalEvent(IcalTranslator.java:305) |
|---|
| 58 |
at edu.rpi.cct.uwcal.caldav.CaldavComponentNode.init(CaldavComponentNode.java:127) |
|---|
| 59 |
... 32 more |
|---|
| 60 |
Caused by: java.net.URISyntaxException: Illegal character in scheme name at index 0: http://www.arts.rpi.edu/viewevents.php?cID=100 |
|---|
| 61 |
at java.net.URI$Parser.fail(URI.java:2752) |
|---|
| 62 |
at java.net.URI$Parser.checkChars(URI.java:2925) |
|---|
| 63 |
at java.net.URI$Parser.checkChar(URI.java:2935) |
|---|
| 64 |
at java.net.URI$Parser.parse(URI.java:2951) |
|---|
| 65 |
at java.net.URI.<init>(URI.java:574) |
|---|
| 66 |
at edu.rpi.cct.uwcal.icalendar.IcalTranslator.toIcalEvent(IcalTranslator.java:300) |
|---|
| 67 |
... 33 more |
|---|
| 68 |
|
|---|
| 69 |
------------------------------------------------------------------------------ |
|---|
| 70 |
locale stuff is still wrong. |
|---|
| 71 |
|
|---|
| 72 |
default locale should be "default" |
|---|
| 73 |
|
|---|
| 74 |
lang + country code might be set explicitly by browser but should always fall |
|---|
| 75 |
back to default. |
|---|
| 76 |
|
|---|
| 77 |
Change code: |
|---|
| 78 |
private static final String localeInfoDefault; |
|---|
| 79 |
private static final Locale localeDefault = Locale.getDefault(); |
|---|
| 80 |
private static final String langDefault; |
|---|
| 81 |
private static final String countryDefault; |
|---|
| 82 |
|
|---|
| 83 |
static { |
|---|
| 84 |
langDefault = localeDefault.getLanguage(); |
|---|
| 85 |
countryDefault = localeDefault.getCountry(); |
|---|
| 86 |
|
|---|
| 87 |
localeInfoDefault = makeLocale(langDefault, countryDefault); |
|---|
| 88 |
} |
|---|
| 89 |
|
|---|
| 90 |
to |
|---|
| 91 |
private static final String localeInfoDefault = "default"; |
|---|
| 92 |
|
|---|
| 93 |
and make other appropriate changes |
|---|
| 94 |
------------------------------------------------------------------------------ |
|---|
| 95 |
|
|---|
| 96 |
|
|---|