mirror of
https://github.com/moparisthebest/davmail
synced 2025-02-28 09:21:49 -05:00
Caldav: fix regression on invalid events handling, just warn on broken events
git-svn-id: http://svn.code.sf.net/p/davmail/code/trunk@963 3d1905a2-6b24-0410-a738-b14d5a86fcbd
This commit is contained in:
parent
0ecc8d22d3
commit
3bb0dde31e
@ -2141,7 +2141,7 @@ public class ExchangeSession {
|
||||
String resultString = result.toString();
|
||||
dumpICS(resultString, fromServer, true);
|
||||
|
||||
return result.toString();
|
||||
return resultString;
|
||||
}
|
||||
|
||||
protected void dumpICS(String icsBody, boolean fromServer, boolean after) {
|
||||
@ -2553,7 +2553,7 @@ public class ExchangeSession {
|
||||
for (MultiStatusResponse response : responses) {
|
||||
String instancetype = getPropertyIfExists(response.getProperties(HttpStatus.SC_OK), "instancetype", Namespace.getNamespace("urn:schemas:calendar:"));
|
||||
Event event = buildEvent(response);
|
||||
if (instancetype == null && event.getICS() == null) {
|
||||
if (instancetype == null) {
|
||||
// check ics content
|
||||
try {
|
||||
event.getICS();
|
||||
|
Loading…
x
Reference in New Issue
Block a user