Closed (fixed)
Project:
Web Links
Version:
6.x-2.x-dev
Component:
Contrib: Checker
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
30 Aug 2009 at 18:00 UTC
Updated:
13 Sep 2009 at 23:30 UTC
The watchdog call for "There are @count links in error and the maximum number being checked per run is !limit." is incorrectly formed and results in errors when the log is viewed.
Comments
Comment #1
nancydruCommitted.
Comment #2
jonathan1055 commentedIt is working for me fine, and the watchdog db table looks OK.
Could you let me know what was wrong, so that I don't make the same error again?
Comment #3
nancydruI had my limit set to 2, and when I saw your new issues, changed the setting to look at links in error first. That's when that message started coming out. The mistake was very easy to make; the substitution value array needed to come outside the format_plural.
Comment #4
jonathan1055 commentedOK I can see what you have changed, but the old version was working (at least for me) and I do not get any errors when viewing the log. So is the change just an improvement for standards and for help with translations? Of course I am fine with the change, but I just need to understand why I am not getting the error you mentioned when viewing the log, so I don't post other code which needs fixing by you. I don't want you to think I had not tested it!
Comment #5
nancydruNo, the recent logs report actually showed an error (IIRC, "Invalid foreach...") and the message field was blank. It only happened when that particular message came out, which probably most people won't ever see.
Comment #6
nancydru