Closed
Bug 355813
Opened 19 years ago
Closed 19 years ago
nsIWebDAVService.getResourceProperties is broken
Categories
(Calendar :: Provider: ICS/WebDAV, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: browning, Unassigned)
Details
Attachments
(2 files, 1 obsolete file)
3.05 KB,
patch
|
Details | Diff | Splinter Review | |
1.02 KB,
patch
|
mvl
:
second-review+
|
Details | Diff | Splinter Review |
nsIWebDAVService.getResourceProperties fails to return requested properties. This is actually rather difficult to demonstrate with current Sunbird/Lightning code since getResourceProperties is hardly used at all; will post testcase. Since no one has noticed this for months it's not a show-stopper for 0.3, but getResourceProperties will be necessary for things like CalDAV etags, detection of remote calendar types and principals, etc, in future releases.
Reporter | ||
Comment 1•19 years ago
|
||
This is not a proposed patch, just an attempt to demonstrate the problem with getResourceProperties. It causes the ICS provider to attempt to collect, after PUT, an item's etag using getResourceProperties, even on trunk, and to dump() a string when entering onOperationDetail.
Apply the patch, PUT an item to an ICS calendar on a WebDAV server, and note that no dump() occurs. Thrilling, I know. nsOperationStreamListener is failing to parse the 207, and thus not calling onOperationDetail.
Reporter | ||
Comment 2•19 years ago
|
||
Same problem, same solution as bug 337790
Attachment #241522 -
Flags: second-review?(mvl)
Attachment #241522 -
Flags: first-review?(cmtalbert)
Comment on attachment 241522 [details] [diff] [review]
use GetElementsByTagNameNS
Sorry it took so long to get to this. It slipped past in the bugmail. This patch looks good. My only nit is that there is an extra space after ("DAV:"),
r+ with that nit
Attachment #241522 -
Flags: first-review?(cmtalbert) → first-review+
Reporter | ||
Comment 4•19 years ago
|
||
de-nitted
Attachment #241522 -
Attachment is obsolete: true
Attachment #243104 -
Flags: second-review?(mvl)
Attachment #241522 -
Flags: second-review?(mvl)
![]() |
||
Comment 5•19 years ago
|
||
Comment on attachment 243104 [details] [diff] [review]
address r1 nit
r=mvl
Attachment #243104 -
Flags: second-review?(mvl) → second-review+
Comment 6•19 years ago
|
||
Patch checked in on MOZILLA_1_8_BRANCH and trunk.
-> FIXED
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•