Hi,

I've been studied a lot the code of the scheduler and it doesn't make any sense for me.

Basically the schedulable events are:

    $schedulable_events = array(
      'schedule' => 'publish',
    );

But when submiting the test which is done is:

$event_name = $form_state['values']['event'];
$schedulable_events = state_flow_schedule_schedulable_events();
if (!empty($form_state['values']['state_flow_schedule']) && !empty($schedulable_events[$event_name])) {
}

The $event_name is basically 'publish', 'unpublish', 'keep in draft' but I don't have any schedule. I haven't have found any code adding the 'schedule' option in the event select. Do I have missed something?

And even by adding that option with the code, it blocks me by telling me that event can't be fired.

If you have any clue about this, I am interested. Thank you.

Comments

phjou created an issue.