phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [Bug #1010] creating new calendar event with no u


From: nobody
Subject: [Phpgroupware-tracker] [Bug #1010] creating new calendar event with no users
Date: Fri, 16 Aug 2002 18:04:41 -0400

=================== BUG #1010: FULL BUG SNAPSHOT ===================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1010&group_id=509

Submitted by: Hurkle                    Project: phpGroupWare                   
Submitted on: 2002-Aug-16 22:04
Category:  calendar                     Bug Group:  0.9.12 release              
Severity:  5 - Major                    Priority:  Normal                       
Resolution:  None                       Assigned to:  None                      
Status:  Open                           Platform Version:  Linux - Mandrake     
Reproducibility:  Every Time            

Summary:  creating new calendar event with no users

Original Submission:  greets.. running phpgw 9.12

When creating a new calendar event, if I uncheck the '<user>username 
particpates' checkbox, and then submit the event to be added, I get an sql 
error as follows:

Database error: Invalid SQL: INSERT INTO 
phpgw_cal(title,owner,priority,is_public) values('/tmp/calENNZRh',,2,1)

Session halted.
Fatal error: Call to undefined function: parse_navbar_end() in 
/var/www/html/phpgroupware/phpgwapi/inc/footer.inc.php on line 44

Granted, this comes under the category of what I consider 'idiot user' 
behavior, i.e. why would you try and create an event with no participants?  
Thing is, the interface allows you to attempt this, but nothing checks to see 
if the variables needed for the sql insert statement to work actually have 
values in them.

imo, if you're executing an sql statement, it's a good idea to make sure it has 
all the data it needs to succeed.  It might also be nice to have some feedback 
for the user, i.e. warning, idiot, you're trying to create an event with no 
participants.. what's the point?

this is the only thing I've found so far that I could break, which says a lot 
for this wonderful application. Kudos.

Hurkle



No Followups Have Been Posted




No files currently attached


For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=1010&group_id=509




reply via email to

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