[Seaside] [BUG]dictionary inspector goes boom for empty dictionaries
Tim Rowledge
tim@sumeru.stanford.edu
Thu, 09 May 2002 16:29:57 -0700
Tried inspecting the IARequest invlolved in some example. 'cookies' is
shown as an empty dictionary. Inspecting it gives:-
>> IAStoreMain =C2=A0>=C2=A0 session =C2=A0>=C2=A0 request =C2=A0>=C2=A0=
fields Inspecting: a Dictionary()
>> =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 IADicti=
onaryInspector key#instVars
>> =20
>> =20
>> =20
>> - OrderedCollection>>do:
>> =20
>> selfan OrderedCollection(#instVars) aBlock[] in SEAPathBinding>>value=
For: index1
>> =20
>> =20
>> =20
>> - SEAPathBinding>>valueFor:
>> =20
>> selfa SEAPathBinding aTargetan IADictionaryInspector targetan IADicti=
onaryInspector 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 IAVisible=
Repeat 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 IADictionaryIn=
spector
>> =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 IAStri=
ng 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'23'
>> =20
>> =20
>> =20
>> - IASession>>performAction:with:
>> =20
>> selfan IASession action#view: arg'23'
>> =20
>> =20
>> =20
>> - [] in IASession>>performAction:with:inTransaction:response:request=
:
>> =20
>> selfan IASession action#view: arg'23' txnID'top' aResponsean IAKomRes=
ponse aRequestan IARequest transactionan IATransaction ea MessageNotUnder=
stood
>> =20
>> =20
>> =20
>> - BlockContext>>on:do:
>> =20
>> self[] in IASession>>performAction:with:inTransaction:response:reques=
t: exceptionException handlerAction[] in IASession>>performAction:with:in=
Transaction:response:request: handlerActivefalse
>> =20
>> =20
>> =20
>> - [] in IASession>>performAction:with:inTransaction:response:request=
:
>> =20
>> selfan IASession action#view: arg'23' txnID'top' aResponsean IAKomRes=
ponse aRequestan IARequest transactionan IATransaction ea MessageNotUnder=
stood
>> =20
>> =20
>> =20
>> - [] in BlockContext>>newProcess
>> =20
>> self[] in IASession>>performAction:with:inTransaction:response:reques=
t:
tim
--=20
Tim Rowledge, tim@sumeru.stanford.edu, http://sumeru.stanford.edu/tim
The less time planning, the more time programming.