[aida] Webuser uuid

Nicholas Moore nicholas.moore at tsr-i.com
Thu Jan 20 12:31:50 CET 2011


In 6.1 a WebUser uuid can end up as a large integer or a string:

WebUser>>initId
	self id: (AIDASite random next * 1000000000) asInteger.
	self otherValuesAt: #uuid put: (self id)


WebUser>>uuid
	"unique identifier "
	^self otherValuesAt: #uuid ifAbsentPut: [(AIDASite random next * 1000000000) rounded printString]


i assume that it should be a string to be consistent with Party, which also returns a string.

Nicholas

-- 
Nicholas Moore

Check out my Blog

"Still Running - that I may die in good health" 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110120/41098f61/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
Url : http://lists.aidaweb.si/pipermail/aida/attachments/20110120/41098f61/attachment.sig 


More information about the Aida mailing list