[Seaside] Re: [BUG]dictionary inspector goes boom for empty dictionaries

Tim Rowledge tim@sumeru.stanford.edu
Thu, 09 May 2002 16:32:13 -0700


...actually I also found this with a quite well populated dictionary:-

>>  IAStoreMain =C2=A0>=C2=A0 session =C2=A0>=C2=A0 request =C2=A0>=C2=A0=
 headers Inspecting: a Dictionary('accept'->'image/gif,image/jpeg,image/p=
jpeg,image/png,*/*' 'connection'->'close' 'host'->'localhost:8080' 'refer=
er'->'http://localhost:8080/seaside/store/1/top/5/view' 'user-agent'->'Mo=
zilla/4.72 [en] (Compatible; RISC OS 4.02; Oregano 1.10)' )
>> =20
>>=20
>> Class: Dictionary
>>  Entries
>> =20
>>=20
>> =20
>>=20
>> MessageNotUnderstood: associations
>>=20
>>=20
>>=20
>>  - MessageNotUnderstood(Exception)>>signal
>>=20
>> selfa MessageNotUnderstood resultnil
>>=20
>>=20
>> =20
>>  - UndefinedObject(Object)>>doesNotUnderstand:
>>=20
>> selfnil aMessagea Message with selector: #associations and arguments: =
#()
>>=20
>>=20
>> =20
>>  - IADictionaryInspector>>instVars
>>=20
>> selfan IADictionaryInspector
>>=20
>>=20
>> =20
>>  - IADictionaryInspector(Object)>>valueForKey:
>>=20
>> selfan IADictionaryInspector key#instVars sel#instVars
>>=20
>>=20
>> =20
>>  - [] in IADictionaryInspector(IAPage)>>valueForKey:
>>=20
>> selfan IADictionaryInspector key#instVars
>>=20
>>=20
>> =20
>>  - IAVarStack>>at:ifAbsent:
>>=20
>> selfan IAVarStack key#instVars absentBlock[] in IADictionaryInspector(=
IAPage)>>valueForKey: i0
>>=20
>>=20
>> =20
>>  - IADictionaryInspector(IAPage)>>valueForKey:
>>=20
>> selfan IADictionaryInspector key#instVars
>>=20
>>=20
>> =20
>>  - [] in SEAPathBinding>>valueFor:
>>=20
>> selfa SEAPathBinding aTargetan IADictionaryInspector targetan IADictio=
naryInspector key#instVars
>>=20
>>=20
>> =20
>>  - OrderedCollection>>do:
>>=20
>> selfan OrderedCollection(#instVars) aBlock[] in SEAPathBinding>>valueF=
or: index1
>>=20
>>=20
>> =20
>>  - SEAPathBinding>>valueFor:
>>=20
>> selfa SEAPathBinding aTargetan IADictionaryInspector targetan IADictio=
naryInspector key#instVars
>>=20
>>=20
>> =20
>>  - IAPageViewContext>>valueForBinding:
>>=20
>> selfan IAPageViewContext aBindinga SEAPathBinding
>>=20
>>=20
>> =20
>>  - IAVisibleRepeat(IARepeat)>>printHtmlTo:
>>=20
>> selfan IAVisibleRepeat contextan IAPageViewContext local#each stackan =
IAVarStack inil
>>=20
>>=20
>> =20
>>  - IAVisibleRepeat(IAElement)>>handleResponse:
>>=20
>> selfan IAVisibleRepeat responsean IAPageViewContext callbacknil
>>=20
>>=20
>> =20
>>  - [] in IARoot(IAElement)>>printContentsTo:
>>=20
>> selfan IARoot responsean IAPageViewContext can IAVisibleRepeat
>>=20
>>=20
>> =20
>>  - OrderedCollection>>do:
>>=20
>> selfan OrderedCollection(an IAText an IAString an IAText an IAVisibleR=
epeat an IAText) aBlock[] in IARoot(IAElement)>>printContentsTo: index6
>>=20
>>=20
>> =20
>>  - IARoot(IAElement)>>printContentsTo:
>>=20
>> selfan IARoot responsean IAPageViewContext can IAVisibleRepeat
>>=20
>>=20
>> =20
>>  - IARoot>>printHtmlTo:
>>=20
>> selfan IARoot responsean IAPageViewContext
>>=20
>>=20
>> =20
>>  - IARoot(IAElement)>>handleResponse:
>>=20
>> selfan IARoot responsean IAPageViewContext callbacknil
>>=20
>>=20
>> =20
>>  - IATemplate>>printHtmlTo:
>>=20
>> selfan IATemplate aViewContextan IAPageViewContext
>>=20
>>=20
>> =20
>>  - IADictionaryInspector(IAPage)>>printHtmlTo:
>>=20
>> selfan IADictionaryInspector aViewContextan IAPageViewContext
>>=20
>>=20
>> =20
>>  - IADictionaryInspector(IAComponent)>>printHtmlTo:
>>=20
>> selfan IADictionaryInspector aResponsean IAPageViewContext
>>=20
>>=20
>> =20
>>  - IAPageProxy>>printHtmlTo:
>>=20
>> selfan IAPageProxy contextan IAPageViewContext childan IADictionaryIns=
pector
>>=20
>>=20
>> =20
>>  - IAPageProxy(IAElement)>>handleResponse:
>>=20
>> selfan IAPageProxy responsean IAPageViewContext callbacknil
>>=20
>>=20
>> =20
>>  - [] in IARoot(IAElement)>>printContentsTo:
>>=20
>> selfan IARoot responsean IAPageViewContext can IAPageProxy
>>=20
>>=20
>> =20
>>  - OrderedCollection>>do:
>>=20
>> selfan OrderedCollection(an IAText an IAPageProxy an IAText an IAStrin=
g an IAText an IAString an IAText ...etc... aBlock[] in IARoot(IAElement)=
>>printContentsTo: index8
>>=20
>>=20
>> =20
>>  - IARoot(IAElement)>>printContentsTo:
>>=20
>> selfan IARoot responsean IAPageViewContext can IAPageProxy
>>=20
>>=20
>> =20
>>  - IARoot>>printHtmlTo:
>>=20
>> selfan IARoot responsean IAPageViewContext
>>=20
>>=20
>> =20
>>  - IARoot(IAElement)>>handleResponse:
>>=20
>> selfan IARoot responsean IAPageViewContext callbacknil
>>=20
>>=20
>> =20
>>  - IATemplate>>printHtmlTo:
>>=20
>> selfan IATemplate aViewContextan IAPageViewContext
>>=20
>>=20
>> =20
>>  - IAInspectorFrame(IAPage)>>printHtmlTo:
>>=20
>> selfan IAInspectorFrame aViewContextan IAPageViewContext
>>=20
>>=20
>> =20
>>  - IAInspectorFrame(IAComponent)>>printHtmlTo:
>>=20
>> selfan IAInspectorFrame aResponsean IAPageViewContext
>>=20
>>=20
>> =20
>>  - IAPageViewContext>>handleResponse:
>>=20
>> selfan IAPageViewContext aResponsean IAKomResponse
>>=20
>>=20
>> =20
>>  - IASession>>view:
>>=20
>> selfan IASession pageID'25'
>>=20
>>=20
>> =20
>>  - IASession>>performAction:with:
>>=20
>> selfan IASession action#view: arg'25'
>>=20
>>=20
>> =20
>>  - [] in IASession>>performAction:with:inTransaction:response:request:=

>>=20
>> selfan IASession action#view: arg'25' txnID'top' aResponsean IAKomResp=
onse aRequestan IARequest transactionan IATransaction ea MessageNotUnders=
tood
>>=20
>>=20
>> =20
>>  - BlockContext>>on:do:
>>=20
>> self[] in IASession>>performAction:with:inTransaction:response:request=
: exceptionException handlerAction[] in IASession>>performAction:with:inT=
ransaction:response:request: handlerActivefalse
>>=20
>>=20
>> =20
>>  - [] in IASession>>performAction:with:inTransaction:response:request:=

>>=20
>> selfan IASession action#view: arg'25' txnID'top' aResponsean IAKomResp=
onse aRequestan IARequest transactionan IATransaction ea MessageNotUnders=
tood
>>=20
>>=20
>> =20
>>  - [] in BlockContext>>newProcess
>>=20
>> self[] in IASession>>performAction:with:inTransaction:response:request=
:
>>=20
>>=20
>>=20
>>=20

--=20
Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim
Any programming language is at its best before it is implemented and used=
.