[BUG][FIX] SqueakMap bug while reading transaction log

Torsten.Bergmann at phaidros.com Torsten.Bergmann at phaidros.com
Wed Oct 22 17:07:29 UTC 2003


Opening the package loader in a clean 3.7image#5497 creates a SqueakMap log.
After reopening the tool the system tries to load the log again, but fails
when it tries
to read lines like 

	self firstTransactionNumber: 2756

Squeak tries to convert ' 2756' asNumber (Note the string has a leading
space) which
fails. This changeset fixes the bug by adding #withBlanksTrimmed in the
method 
SMSqueakMap>>lastTransactionInLog

Found and tested on Squeak3.7#5497 on Windows2000.

Bye
Torsten


 <<SqueakDebug.log>>  <<TransactionLogFix.1.cs>> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SqueakDebug.log
Type: application/octet-stream
Size: 4210 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031022/88d8cb55/SqueakDebug.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: TransactionLogFix.1.cs
Type: application/octet-stream
Size: 566 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20031022/88d8cb55/TransactionLogFix.1.obj


More information about the Squeak-dev mailing list