From f3b15c68be05bbf4ce550e8d9aaf9c95ef50db5b Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Tue, 1 Jun 2010 19:50:26 +0000 Subject: [PATCH] Monotone-Parent: 5e7c2410057553adbfb2bc36dcdf29c89d547250 Monotone-Revision: 33c96e6881c7a8bafb056ea86ca1517c42edb343 Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2010-06-01T19:50:26 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 4 ++++ SoObjects/SOGo/WORequest+SOGo.m | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 68bf9df58..b422d1dca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2010-06-01 Wolfgang Sourdeau + * SoObjects/SOGo/WORequest+SOGo.m (-handledByDefaultHandler): test + the request handler key instead of invoking isSoWebDAVRequest, + which performs additional and permission tests. + * Tests/Integration/test-davacl.py (DAVCalendarAclTest._testRights): reenabled test code even when no classification rights are available. diff --git a/SoObjects/SOGo/WORequest+SOGo.m b/SoObjects/SOGo/WORequest+SOGo.m index 824cb8bc5..5e42233b4 100644 --- a/SoObjects/SOGo/WORequest+SOGo.m +++ b/SoObjects/SOGo/WORequest+SOGo.m @@ -37,7 +37,7 @@ - (BOOL) handledByDefaultHandler { #warning this should be changed someday - return ![self isSoWebDAVRequest]; + return ![[request requestHandlerKey] isEqualToString:@"dav"]; } - (NSArray *) _propertiesOfElement: (id ) startElement