bugphpGroupWare - Bugs: bug #3563, problem in transfering records...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #3563: problem in transfering records when deleting a user

Submitted by:  Michael Totschnig <totschnig>
Submitted on:  Mon 12 May 2003 07:39:30 PM UTC  
 
Item Group: 0.9.14 releaseCategory: API - Admin
Severity: 2,5Priority: 4
Status: FixedPrivacy: Public
Assigned to: Invalid User ID <Invalid User ID>Open/Closed: Closed
Component Version: SVNOperating System: None
Reproducibility: NonePlanned Release: None
Fixed Release: 

Sun 01 Jun 2003 11:52:09 PM UTC, comment #1:

Hello Rainer,

I found the solution,
after the
$db2->query('SELECT count(*) FROM phpgw_cal_user WHERE cal_id='.$id.' AND cal_login='.$new_owner,__LINE__,__FILE__);
you need a
$db2->next_record();
!!

Michael Totschnig <totschnig>
Mon 12 May 2003 07:39:30 PM UTC, original submission:

When I tried to use the option to transfer records to another user when deleting a user I get the followin error:

Database error: Invalid SQL: UPDATE phpgw_cal_user SET cal_login=7 WHERE cal_id=7 AND cal_login=19
MySQL Error: 1062 (Duplicate entry '7-7' for key 1)

File: /usr/local/www/phpgroupware.src/calendar/inc/class.socalendar.inc.php
Line: 243

Session halted.

Michael Totschnig <totschnig>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sat 17 May 2003 11:56:41 AM UTCskwashdAssigned toNone=>NA

Back to the top


Powered by Savane 3.1-cleanup1