i try to setup ruote inside rails 2.2.3 with version 0.9.21.

-the error is located at the end of the post !-

The process i try to test is the following with the following
definition :
i initialize with

http://gist.github.com/173244

i have a test controller
   def index
   register_participants(ruote_engine)

    # launch the process (let the engine interpret the process
definition and
    # create a process instance)
    process_definition = File.read(File.expand_path(RAILS_ROOT+'/app/
workflows/definitions/registration_process.rb'))

    li = OpenWFE::LaunchItem.new(process_definition)
    li.association_id = 1
    li.registrar_id = 125
    li.locale = 'fr_BE'

    fei = ruote_engine.launch(li)
    sleep 30
end

and i have the following process definition
http://gist.github.com/173243

------------------------ ERROR
-----------------------------------------------------------------------------------------------

 INSERT INTO "process_errors" ("created_at", "wfid", "expid",
"svalue") VALUES('2009-08-23 10:19:57.454928', E'20090823-hamudohaso',
E'0.0.4.0.2', E'--- !ruby/object:OpenWFE::ProcessError
date: 2009-08-23 12:19:57.454928 +02:00
error_class: TypeError
fdate: 1251022797.45493
fei: &id001 !ruby/OpenWFE::FlowExpressionId
 s: (fei 0.9.21 engine field:__definition Registration_process 0
20090823-hamudohaso user 0.0.4.0.2)

message: :apply
stacktrace: can''t dump anonymous class Class
workitem: !ruby/object:OpenWFE::InFlowWorkItem
 attributes:
 matched_profile_validated:
 matched_user_id: 123
 matched_profile_activated: true
 registrar_id: 125
 association_id: 1
 match_profile_status: "yes"
 match_profile_errors: []

 params:
 activity: double optin profile
 user-id: ""
 locale: fr_BE
 dispatch_time: 2009-08-23 12:19:45.789536 +02:00
 flow_expression_id: *id001
 last_modified:
 participant_name: user
') RETURNING "id"
--~--~---------~--~----~------------~-------~--~----~
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to