Hi all,

did anybody else discover this error when excercising through the "Getting
Started with WebObjects" booklet that cmoes with WO4 for NT?

Application:  GuestBookPlus  
Error:  EOUnknownKeyException  
Reason:  [<GuestList 0xa8f840> valueForKey:]: lookup of unknown key:
'currentGuest'.
This class does not have an instance variable of the name currentGuest or
_currentGuest, nor a method of the name currentGuest, _currentGuest,
getCurrentGuest, or _getCurrentGuest

----------------------------------------------------------------------------
----
User Info Dictionary:  
EOUnknownUserInfoKey:  currentGuest  
EOTargetObjectUserInfoKey:  <<GuestList: 0xa8f840 name=GuestList
subcomponents=0x0>>  

I repeated the first and the second chapter two times ... and now I'm
already doubting my common sense ;-) since I'm an absolute beginner in
programming. My GuestBookPlus worked fine in Chapter 2 when I tested the
"count" with the sentence "x users have signed this guestbook."

Did I myself make some mistake when writing the code for GuestBookPlus or
is there a mistake in the booklet?

Thanks a lot for your help!

Jens Wettermann

Reply via email to