Alexander Abramov
Alexander Abramov
Plugin is checking _Next run date_ only. Please replace `${REDMINE_ROOT}/plugins/periodictask/lib/scheduled_tasks_checker.rb` with one from attached archive, restart Redmine and run cron job. Then look into _production.log_ for lines prefixed with _ScheduledTasksChecker:_....
Ok, let's extend diagnostics. Replace `${REDMINE_ROOT}/plugins/periodictask/lib/scheduled_tasks_checker.rb` and `${REDMINE_ROOT}/plugins/periodictask/app/models/periodictask.rb` from attached archives. Restart Redmine and run cron job (_yes, you can run it manually_), and look into log for the same...
No, it simply indicates that exception was raised (_in this case while it's under debugging -- it isn't normal workflow_). I need log fragment starting with _Creating issue_ and _Task...
Well just to clarify. You've replaced both files, restarted Redmine. And in the log there's no lines starting with `ScheduledTasksChecker: Creating issue` or `ScheduledTasksChecker: Error generating issue` Right? Then replace...
I can't even assume how this could happened. When project is deleted, all tasks within this project are deleted too. Try to check these urls (type it by hand): `your-redmine-fqdn/projects/71`...
Did you revert updated files and restarted Redmine?
I tried to model this issue with non-existent project in test Redmine installation, directly editing _periodic task_ on database level with random _project_id_. **Plugin works as expected**: ignore _bad_ periodic...
I'd make a copy of Redmine installation (both files and db) and run it in _development_ mode -- so I'd have more logging. Maybe you should disable notifications in this...
@marius-balteanu, I'm used to programming without writing tests and this approach is very new to me. I'm trying to understand this technique right now, but I think I'll write tests...
First, I'd like to say thank you for testing my code. I apologize for missing unit tests looking at which you'll stand on my point of view of this new...