Hi John,

I think that the WorkItem#has_attribute? function does not work
properly for arrays and hashes. I discovered this when I tried to use
something like <defined field="my_array.0"> to test for the first
entry of an array attribute. I then added the following lines to my
program:

puts workitem.lookup_attribute('my_array.0').to_s
puts workitem.has_attribute?('my_array.0').to_s

The first line returns the object, but the second line returns false.
I would expect the second line to return true when the object is
present.

Regards,

Maarten


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"OpenWFEru users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to