AOEpeople/Aoe_Scheduler — pull request #37 by thakilla (2014-08-01 14:23:49+00:00)
Title: Reset _dataSaveAllowed before save to get sure the save is not influence...

Hey Guys,

We found a bug which refuses saving of a new schedule object, because the _dataSaveAllowed was set to false on the previous object. The problem is, that magento only unsets the schedule_id instead of resetting the whole schedule object, so the _dataSaveAllowed flag is still on false.

>Mage_Cron_Model_Observer::_generateJobs() on line 227
>$schedule->unsScheduleId()->save();