> I'll fix that asap (after the footing).

Thanks very much. Next time I might want to give it a shot myself (to
do the fix).

I tried to isolate the problem with the following test program:

require 'rubygems'
require 'openwfe/workitem'

wi = OpenWFE::InFlowWorkItem.new()
wi.attributes = {
     "field0" => "value0",
      "field1" => [ 0, 1, 2, 3, [ "a", "b", "c" ]],
      "field2" => {
           "a" => "AA",
           "b" => "BB",
           "c" => [ "C0", "C1", "C3" ]
         },
        "field3" => 3,
        "field99" => nil
   }

puts wi.has_attribute?('field3')
puts wi.has_attribute?('field1.1')
puts wi.has_attribute?('field1.4.1')
puts wi.has_attribute?('field2.c.1')

But the programs fails to run:

/usr/local/lib/ruby/gems/1.8/gems/openwferu-0.9.16/lib/openwfe/
utils.rb:396:in `has_attribute?': undefined method `pop_key' for
OpenWFE:Module (NoMethodError)
        from /usr/local/lib/ruby/gems/1.8/gems/openwferu-0.9.16/lib/
openwfe/workitem.rb:181:in `has_attribute?'
        from has_attribute.rb:17

and I have no idea why the pop_key cannot be found in my case while it
works in a regular setting. Did I do something wrong?

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