Making RoundCube notice-free would require us to change hundreds of line of code including 3rd party libs. PHP will grumble on every access to a uninitialized var and when testing for an undefined array index.
To reduce programming code (and effort!) to a minimum, it's better to mute notices. Real problems are still reported as warning or error. ~Thomas Eduard Krieger wrote: > Hallo, > > my question is why in RC the display (logging) of Notice-Warnings are > disabled. Okey, Notices are often nothing important, but sometimes they > show some rare problematic cases, which are not an error but a > program-failure. For example: I got those Notices: > > [18-Aug-2008 15:23:54] PHP Notice: Undefined offset: 1 in > /var/www/web231/files/site1/webmail/lib/imap.inc on line 630 > [...] > > I have to say, that i use RC-0.1 stable. This warning are from the > Function "iil_StrToTime" and all undefined offsets point to the variable > $a. Since this notice is logged in a working environment (so this happen > to some of the user, who used RC) i can't reproduce the problem. But > there must be a case where the Time-String is not right so this function > does work right on it. When does it happen? > > I had several other problematic cases which i could repair by myself, so > my suggestion is to enable also the Notice-Warnings. What do you think > about this? > _______________________________________________ > List info: http://lists.roundcube.net/dev/ _______________________________________________ List info: http://lists.roundcube.net/dev/
