https://bugs.meego.com/show_bug.cgi?id=17862

--- Comment #7 from davidwu <[email protected]> 2011-07-01 08:27:56 UTC ---
Found below code in WebDAVSource.cpp with image 1.2.0.90.6.20110630.84

+        } catch (const TransportStatusException &ex) {
+            SE_LOG_DEBUG(NULL, NULL, "TransportStatusException: %s",
ex.what());
+            if (ex.syncMLStatus() == 404) {
+                // We're actually looking at an authentication error: the path
to the calendar has
+                // not been found, so the username was wrong. Let's hijack the
error message and
+                // code of the exception by throwing a new one.
+                string descr = StringPrintf("Path not found: %s. Is the
username '%s' correct?",
+                                            path.c_str(), username.c_str());
+                int code = 401;
+                SE_THROW_EXCEPTION_STATUS(TransportStatusException, descr,
SyncMLStatus(code));
+            }

--------
Product: SyncEvolution
Component: SyncEvolution
MeeGo Release: unspecified
Severity: critical
Priority: Undecided
Keywords: 
Status: RESOLVED
Who: [email protected]
Assigned To: [email protected]
Target Build: 1.2
Flags: 
Changed: 
--------

https://bugs.meego.com/show_bug.cgi?id=17862


-- 
Configure bugmail: https://bugs.meego.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching someone on the CC list of the bug.
_______________________________________________
Syncevolution-issues mailing list
[email protected]
http://lists.syncevolution.org/listinfo/syncevolution-issues

Reply via email to