phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bug #4420] SQL error on activities when creating


From: nobody
Subject: [Phpgroupware-tracker] [bug #4420] SQL error on activities when creating subtask for project
Date: Tue, 22 Jul 2003 15:37:18 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030624

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

Submitted by: dhouston                Project: phpGroupWare                 
Submitted on: Tue 07/22/2003 at 19:37
Category:  projects                   Bug Group:  0.9.16 pre RC             
Severity:  5 - Major                  Priority:  None                       
Resolution:  None                     Assigned to:  None                    
Status:  Open                         Component Version:  None              
Platform Version:  None               Reproducibility:  Every Time          

Summary:  SQL error on activities when creating subtask for project 

Original Submission:  I created a project and then went in to add a subtask/job 
for that project. When I hit the "Add" button on the job listing page to add 
the first job, I got an SQL error pointing me to the function 
select_pro_activities() in class.soprojects.inc.php. That function takes an 
initial parameter $project_id that defaults to '', and if no project_id is 
passed (pro_parent is passed when you're adding a job to a project), the SQL 
breaks. I simply added the line "if($project_id==''){ $project_id=$pro_parent; 
}" just above the query, and the problem was resolved. The resulting behavior 
is that in the job form, the activities select boxes contain only the 
activities selected when the parent job was created.



No Followups Have Been Posted


CC list is empty


No files currently attached


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

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





reply via email to

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