phpgroupware-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Phpgroupware-tracker] [bug #12582] A warning is displayed when todo_lev


From: Charles Martin
Subject: [Phpgroupware-tracker] [bug #12582] A warning is displayed when todo_level is negative
Date: Wed, 6 Apr 2005 14:38:01 +0000
User-agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; rv:1.7.3) Gecko/20040913 Firefox/0.10.1

URL:
  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12582>

                 Summary: A warning is displayed when todo_level is negative
                 Project: phpGroupWare
            Submitted by: cafefroid
            Submitted on: Wed 04/06/2005 at 14:37
              Item Group: 0.9.16.005
                Category: todo
                Severity: 3 - Normal
                Priority: 4
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
       Component Version: None
        Platform Version: None
         Reproducibility: Every Time
         Planned Release: None
           Fixed Release: 

    _______________________________________________________

Details:

I know todo_level shouldn't have dropped down below 0 but, I was trying to
push things to their limit and building potential infinite loops within the
app by setting the parent of an item to it's child etc. to see how the code
reacted. This, eventually led to one of my item's level to be set to -1 (I
need to check why this happenned and submit the bug, but, anyways...)

I get this warning message :

Warning: str_repeat(): Second argument has to be greater than or equal to 0.
in [...]\webpub\todo\inc\class.ui.inc.php on line 209

Which could be easily avoided by making sure a couple of lines before that,
if todo_level is negative, get it back to 0



    _______________________________________________________

Carbon-Copy List:

CC Address                          | Comment
------------------------------------+-----------------------------
cafefroid                           | 




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?func=detailitem&item_id=12582>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]