Anonymous | Login | 03-01-2021 19:16 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | |||||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | |||||||
0006730 | [Squeak] Etoys | minor | always | 10-14-07 02:46 | 10-16-07 20:29 | |||||||
Reporter | wiz | View Status | public | |||||||||
Assigned To | ||||||||||||
Priority | normal | Resolution | open | |||||||||
Status | new | Product Version | ||||||||||
Summary | 0006730: GeeMailMorph initialzation causes nil to be used as a dicitonary key | |||||||||||
Description |
nk 11/1/2004 07:48 UndefinedObject initialize {*eToys-*Morphic-customevents-class initialization}' initialize "AlansTextPlusMorph initialize" ScriptingSystem addCustomEventFor: self named: #scrolledIntoView help: 'when I am scrolled into view in a GeeMailMorph' targetMorphClass: Morph. ScriptingSystem addCustomEventFor: self named: #scrolledOutOfView help: 'when I am scrolled out of view in a GeeMailMorph' targetMorphClass: Morph. |
|||||||||||
Additional Information |
Apparently when AlansTextPlusMorph was changed or removed the initialization responsibility was given to the instance side of UndefinedObject. It clearly doesn't belong there. I found this when writing tests that check the integrity of Identity dictionary instances. iDictionary keys breaks when nil is used as a key. An identity set can not have nil as a valid member. This is also broken in squeakland and olpc images. So where does this initialization belong? Or can it be removed entirely? Yours in curiosity and service, --Jerome Peace |
|||||||||||
Attached Files |
![]() |
|||||||||||
|
![]() |
||||||
|
Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
67 total queries executed. 40 unique queries executed. |