[aida] ByteString value in 6.3

Nicholas Moore nicholas.moore at tsr-i.com
Fri Aug 26 13:22:52 CEST 2011

WebElement >> existScriptForEvent: anEventString
     | eventPattern |
     eventPattern := '*aidaEvent(''', anEventString, '*'.
     self attributes isNil ifTrue: [^false].
     self attributes do: [:attribute |
         attribute value class = OrderedCollection
             ifFalse: [(eventPattern match: attribute value) ifTrue: 
             ifTrue: [(attribute value contains: [:attr | eventPattern 
match: attr]) ifTrue: [^true] ] ].

This fails if an attribute is a ByteString with DNU 'value'.

Is there likely to be a problem with adding a 'value' method to String 
which returns '^self' ? It works so far.

FYI ... I have loaded the latest Swazoo and Aida 6.3 and everything 
seems to work as expected.




*Nicholas Moore


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.aidaweb.si/pipermail/aida/attachments/20110826/cfeb71e9/attachment.htm 

More information about the Aida mailing list