-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reminders sent with 0 issues pending #1
Comments
Hi, I suppose you have some issues due, or are there none? I will have a look at this since there was the same issue reported in redmine(http://www.redmine.org/boards/2/topics/16244?r=21963). I will need some additional info though. Redmine version is 1.1.0? How many issues are in the foo project? I haven't actually tested it on the latest redmine so there might be some fix needed for it, will have a look in to that and keep you posted. Thank you for the report. |
Hello, On 02/28/11 09:22, alvila wrote:
at the time I got said email, I had no issues due.
Yes, redmine 1.1.0.
45, sub-projects included.
Thanks, I really appreciate what the community has achieved with redmine and Thomas |
Perhaps as a note: I do have some issues assigned to me without a due date set. |
That doesn't make any difference, issues without due date are not counted in the list. Still looking into it. |
Don't know why I always close this:) sorry for that. Modified and tested the reminder on latest redmine Redmine 1.1.1.devel.4995 and on my end it seems to work ok. Fixed the thing with 0 issues due messages, these are not going to be sent now. By the way if you need just assigned issues, there is this function already build in in redmine;) Let me know if this works now. |
Sorry, I got this:
When running with --trace, I get:
As an afterthought: this problem is not specific to the new version, it also happens with the previous one on this project. But I don't know what's special about test-project here. |
I am running Redmine 1.0.4.stable. I currently have three projects. One has no issues. One has three issues with on of those closed. The third has one open issue. The watcher portion of the reminder works for the one user I am having issues with. It is just the assigned portion that doesn't work. I actually went into mysql and deleted and recreated the user just to make sure the account wasn't corrupt and I still got the same results. I also tested the reminder on all of my other users and it works perfect. |
Milan, I did some experiments and my solution seems to work. Could you send an email to jahns (at) dkrz dot de, so I can contact you back with a repository URL. |
The fix doesn't seem to have worked. The user I was having issues with still gets get an email with "0 issues due in the next 5 days" even though there are multiple issues assigned and due in two days. (The lines marked as > are tjahns responses to me)
I also have a question about how the reminder should work. I have another user with 5 issues due in the next two days. He gets the correct email but the issue with the nearest due date is at the bottom of the list. I would think the issue should be at the top.
I am the author of all the issues currently in the system (with 5 - 7 due within the next 5 days). I get an email with only "1 issue that is created by you is due in the next 5 days".
|
I have the following cron job running:
1 0 * * * test -e$HOME/redmine && cd $ {HOME}/redmine && rake redmine:send_reminders_all days=4 project=foo RAILS_ENV=production | grep -v '(in '"$HOME"'/redmine-1.1.0)'
Today I got an email with the following subject:
Subject: 0 issues due in the next 4 days
And of course, it contained nothing but a link to the list of issues in project foo and the standard disclaimer.
I'm a bit nervous about this feature, because after the plugin seemed to work fine for some time in project foo, I'd like to roll it out for all projects, but that won't fly if every user receives such useless email.
The text was updated successfully, but these errors were encountered: