phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bug #6161] Error when deleting an account (conta


From: nobody
Subject: [Phpgroupware-tracker] [bug #6161] Error when deleting an account (contacts related)
Date: Thu, 30 Oct 2003 04:38:08 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5a) Gecko/20031010 Mozilla Firebird/0.6.1

=================== BUG #6161: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=6161&group_id=509

Changes by: Hsing-Foo Wang <address@hidden>
Date: Thu 10/30/2003 at 09:38 (GMT)

------------------ Additional Follow-up Comments ----------------------------
ok, I just created a new db for use with the latest cvs



I created the admin and demo accounts, setup is fine.



Now I try to delete the demo3 phpgw account and choose Delete all records. This 
results in a blank page and the account is not deleted. Unfortunately no errors 
in the logs.



=================== BUG #6161: FULL BUG SNAPSHOT ===================


Submitted by: pooh_                   Project: phpGroupWare                 
Submitted on: Sat 10/25/2003 at 10:10
Category:  API - Admin                Bug Group:  0.9.16RC1                 
Severity:  5 - Major                  Priority:  High                       
Resolution:  Works for me             Assigned to:  jarg                    
Status:  Open                         Component Version:  CVS               
Platform Version:  Linux - RedHat     Reproducibility:  None                

Summary:  Error when deleting an account (contacts related)

Original Submission:  When an account is deleted without assigning records to 
another user you end up with a blank page.



The log says:

-----------------------



httpd: PHP Warning:  Invalid argument supplied for foreach() in 
/home/e-smith/files/ibays/test/html/phpgwapi/inc/class.contacts_sql.inc.php on 
line 2213



httpd: PHP Fatal error:  Call to a member function on a non-object in 
/home/e-smith/files/ibays/test/html/infolog/inc/class.soinfolog.inc.php on line 
313



Follow-up Comments
*******************

-------------------------------------------------------
Date: Thu 10/30/2003 at 09:38       By: pooh_
ok, I just created a new db for use with the latest cvs



I created the admin and demo accounts, setup is fine.



Now I try to delete the demo3 phpgw account and choose Delete all records. This 
results in a blank page and the account is not deleted. Unfortunately no errors 
in the logs.

-------------------------------------------------------
Date: Wed 10/29/2003 at 07:47       By: eald
Could you tell the exact way that you try to reproduce it?



You choice Delete All Records?

or Cancel?



btw this form have a usability issues, just reminder.



-------------------------------------------------------
Date: Tue 10/28/2003 at 11:06       By: pooh_
Update:

with class.contacts_sql.inc.php 1.17.2.2.2.32 it still exists

-------------------------------------------------------
Date: Mon 10/27/2003 at 16:12       By: pooh_
Hi Jarg, eald,



I have class.contacts_sql.inc.php 1.17.2.2.2.26 as the latest cvs update.



The error is still there, funny thing is I get no errors in my log anymore. The 
account is not deleted after the error.



The source of the blank html page is:

<html><body></body></html>



Please note that I am _NOT_ assigning the records to another user, but choose 
the default 'delete all records'. Before assiging the reocrds to another user 
worked. Now this also gives a blank page...



I'll try it with a new install later tonight if I have the time.



Thanks,

pooh_





-------------------------------------------------------
Date: Mon 10/27/2003 at 15:49       By: jarg
Hi,



this was fixed, and now works for me, please chek if you have the last code, 
for the first error you can see the patch in the email cvs notification with 
subject:



[Phpgroupware-cvs] phpgwapi/inc class.accounts_shared.inc.php, 1.48.2.2.2.18, 
1.48.2.2.2.19 class.contacts_sql.inc.php, 1.17.2.2.2.25, 1.17.2.2.2.26



the fix was in class.contacts_sql.inc.php in function delete_all.



For the second error, you can see the patch in the email cvs notification with 
subject:



[Phpgroupware-cvs]  infolog/inc class.soinfolog.inc.php, 1.10.2.1.2.9, 
1.10.2.1.2.10



Please test again and said me if the error is still there.



thanks.

-------------------------------------------------------
Date: Mon 10/27/2003 at 15:42       By: eald
I haven't checked it yet, I'll do today I hope.



-------------------------------------------------------
Date: Mon 10/27/2003 at 14:40       By: pooh_
jarg, eald: we spoke about this one, and just curious about the status.


CC list is empty


No files currently attached


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

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





reply via email to

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