Forums / Developer / ezdesign / Comment48205

Author Topic

Eric Bourgain

Wednesday 06 June 2007 9:38:48 am

Comment48205

Some more precision about what happens.
The template is called in the 'execute' method of a workflow eventtype, as follows:

         $process->Template
           = array('templateName' =>
                   'design:workflow/eventtype/select_approver.tpl',
                   'templateVars' =>
                   array('approve_user_list' => $preselection,
                         'warning' => false,
                         'submit_uri' =>false,
                         'cancel_uri' =>false,                      
                         'request_uri' => '/approve/select_approver',
                         'version' => $versionID,
                         'object_id' => $parameters['object_id'],
                         'redirect_uri' => $this->redirect_uri));
           
         return EZ_WORKFLOW_TYPE_STATUS_FETCH_TEMPLATE_REPEAT;

This occurs in the front site. I don't know for the back
When seen, the url is a /content/edit/... as stated by fabien
When we add trace in ezurloperator.php, we see that the first time, we have a bunch of matchkeys, but just one when we refresh (i.e. when it works)
We really need help!