Closed Bug 241201 Opened 20 years ago Closed 20 years ago

Clean up some webservices code

Categories

(Core Graveyard :: Web Services, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: peterv, Assigned: peterv)

Details

Attachments

(3 files, 1 obsolete file)

 
Attached patch v1Splinter Review
Remove space after NS_IMETHODIMP, switch to nsCOMArray instead of
nsSupportsArray and nsInterfaceHashtable instead of nsSupportsHashtable, use
nsAutoPtr for mArrayInfo, use better string foo, correct anyUri to anyURI (see
http://www.w3.org/TR/2001/REC-xmlschema-2-20010502/#anyURI).
Attached patch v1 (diff -w)Splinter Review
Attachment #146681 - Flags: superreview?(jst)
Attachment #146681 - Flags: review?(jst)
Comment on attachment 146681 [details] [diff] [review]
v1

Very nice! r+sr=jst
Attachment #146681 - Flags: superreview?(jst)
Attachment #146681 - Flags: superreview+
Attachment #146681 - Flags: review?(jst)
Attachment #146681 - Flags: review+
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Erm. This patch causes the app to crash in my extension manager (not enabled
completely yet, but a use of SOAP)...

###!!! ASSERTION: nsTHashtable was not initialized properly.: 'mTable.entrySize'
, file ../../../../dist/include/xpcom\nsTHashtable.h, line 179

DecodeStructParticle (when returning complex types) calls nsSchema::AddType
which attempts to do a hash operation and fails with the following assertion
followed by a crash. 

This is blocking my 0.9 extension manager work. We need a good test suite for
web services so this sort of stuff doesn't keep breaking.
Attached patch Bustage fixSplinter Review
I seem to have missed some code to init the hashtables. I just checked in this
patch, it should fix that crash.
Thanks for the fast turnaround!
Attached patch Patch for AVIARY (obsolete) — Splinter Review
Modifications seem not to have been applied before aviary
Attachment #164003 - Flags: review?(keeda)
Comment on attachment 164003 [details] [diff] [review]
Patch for AVIARY

At this stage you won't get aviary approval of anything other than small and
clear bugfixes. It is much too late for random cleanup.
Attachment #164003 - Flags: review?(keeda) → review-
(In reply to comment #8)
> (From update of attachment 164003 [details] [diff] [review])
> At this stage you won't get aviary approval of anything other than small and
> clear bugfixes. It is much too late for random cleanup.
> 

So is there any devel sub-branch for aviary one on which I could try to apply
this patch and on which I could get approval for ?
Attachment #164003 - Attachment is obsolete: true
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: