Issue 4299 in pharo: problem with Dictionary and KeyNowFound

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Issue 4299 in pharo: problem with Dictionary and KeyNowFound

pharo
Status: Accepted
Owner: marianopeck

New issue 4299 by marianopeck: problem with Dictionary and KeyNowFound
http://code.google.com/p/pharo/issues/detail?id=4299

So...it seems Pharo1.3 change Dictionary to throw KeyNotFound instead of  
Error.
Now, my image freezes with a loop. I would appreciate some help. I couldn't  
really analyzed the problem.
Fileine both FLPerson.st and ATest and run the test testDictionaryRehash.
In such test, a the end there is a

     self shouldnt: [aDictionary at: newPerson1] raise: KeyNotFound.


which raises the debugger pre-popup. if I try to click on the popup... ->  
loop/freeze.
You can interrupt it and see more or less what is happening.

For more details read  
http://forum.world.st/problem-with-Dictionary-and-KeyNowFound-tp3537004p3537004.html

So....I don't pretend a perfect solution. I committed a fix that solves the  
problem. I am WORKING with a Pharo 1.3 so I NEED this fix. If Camillo wants  
to improve it later, then no problem.

The fix is basically not to print the whole collection. That doesn't make  
sense and it hangs the image.




_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4299 in pharo: problem with Dictionary and KeyNowFound

pharo
Updates:
        Status: FixToInclude
        Labels: Milestone-1.3

Comment #1 on issue 4299 by marianopeck: problem with Dictionary and  
KeyNowFound
http://code.google.com/p/pharo/issues/detail?id=4299

Name:  
SLICE-Issue-4299-ProblemWithKeyNotFoundInDictionary-MarianoMartinezPeck.1
Author: MarianoMartinezPeck
Time: 27 May 2011, 4:39:14 pm
UUID: 671086b6-2c88-41ae-815c-535db95285dd
Ancestors:
Dependencies: Collections-Unordered-MarianoMartinezPeck.115

Fix to issue 4299


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker
Reply | Threaded
Open this post in threaded view
|

Re: Issue 4299 in pharo: problem with Dictionary and KeyNowFound

pharo
Updates:
        Status: Closed

Comment #2 on issue 4299 by [hidden email]: problem with Dictionary  
and KeyNowFound
http://code.google.com/p/pharo/issues/detail?id=4299

in 13221


_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-bugtracker