phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bug #5173] Cannot update existing user


From: nobody
Subject: [Phpgroupware-tracker] [bug #5173] Cannot update existing user
Date: Thu, 11 Sep 2003 09:49:07 -0400
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.1) Gecko/20020826

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

Changes by: Anonymous user        Date: Thu 09/11/2003 at 09:49

------------------ Additional Follow-up Comments ----------------------------
This also happens in 0.9.16RC1--see my bug report #5213.  Evidently the CVS 
change was not incorporated into the RC1.



=================== BUG #5173: FULL BUG SNAPSHOT ===================


Submitted by: jpfingstmann            Project: phpGroupWare                 
Submitted on: Tue 09/09/2003 at 16:03
Category:  API - Admin                Bug Group:  0.9.16RC1                 
Severity:  5 - Major                  Priority:  High                       
Resolution:  None                     Assigned to:  alexbsa                 
Status:  Open                         Component Version:  CVS               
Platform Version:  None               Reproducibility:  Every Time          

Summary:  Cannot update existing user

Original Submission:  In a new install (see below for details) I created an 
admin user (and have SQL authentication on) and when trying to update the admin 
to give access to all installed programs I get: 



type1person_idvorDatabase error: Invalid SQL: INSERT INTO phpgw_contact_person 
(prefix, first_name, last_name, created_on, created_by, modified_on, 
modified_by, person_id) VALUES ('test', 'Test1', NULL , '1', '1', '1', '1', '9')

MySQL Error: 1048 (Column 'last_name' cannot be null)



File: 
/home/httpd/htdocs/simplygwdev.wearesimply.com/phpgwapi/inc/class.sql_entity.inc.php

Line: 420

Session halted. 



I had filled in the last name though.  This does not happen when I create a 
user for the first time, it works fine.  However, any time I edit a user I 
cannot submit the changes due to this error.  Also I have noticed that when 
pulling up a user to modify, it automatically wipes the First Name and Last 
Name from the form (they are listed in view format) and puts grupogonher.com as 
the domain.  You can log in to simplygwdev.wearesimply.com with gwtest password 
1234   (this installation contains no company data and is a new install).



Here is the run of events:



I have been having some problems upgrading from what shows as 0.9.14.006 to the 
new RC1 in cvs - I will post about this when I do some more testing on this 
problem... So at the moment I have the RC1 as a separate installation.  I just 
took my groupware directory and copied it to a different directory (and added 
appropriate vhost in apache) and then did a CVS update.  I deleted 
header.inc.php and had setup create a new one linking to a newly created DB.  
So now you know the complete setup I went through in case you need it.

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

-------------------------------------------------------
Date: Thu 09/11/2003 at 09:49       By: None
This also happens in 0.9.16RC1--see my bug report #5213.  Evidently the CVS 
change was not incorporated into the RC1.

-------------------------------------------------------
Date: Wed 09/10/2003 at 00:39       By: alexbsa
This has been corrected in CVS.



To grab a complete update of all fixes:



1)  Check to see if you have cvs installed: 'cvs --help'.

1a) If not, install a copy of cvs-cli from your favorite 

distro.



2)  Then just type:

    'cd <your phpgroupware dir>; cvs update -dP'.



You can do step 2 as many times in a day as you wish, and 

will always get the most current bug fixes.



Thanks,



-------------------------------------------------------
Date: Wed 09/10/2003 at 00:29       By: alexbsa
This has been fixed in CVS and should be available in the next

release.

-------------------------------------------------------
Date: Tue 09/09/2003 at 20:29       By: cw
Probably releated in some why,



these failed saves each generate a blank addressbook entry.

-------------------------------------------------------
Date: Tue 09/09/2003 at 20:05       By: skwashd
Thanks for the detailed report ... we will get onto this asap.  These are 
mostly known issues.



The upgrade script is now fixed.  It slipped through our last round QA process 
- sorry.  Upgrade from cvs if you like.



The admin form is being worked on.  Should have that fixed soon.



Thanks for assisting in the testing process.


CC list is empty


No files currently attached


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

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





reply via email to

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