bugphpGroupWare - Bugs: bug #10766, contact backend problematic with...

 
 

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

bug #10766: contact backend problematic with class.contacts_sql.inc.php

Submitted by:  Caeies <Caeies>
Submitted on:  Fri 22 Oct 2004 12:41:03 PM UTC  
 
Item Group: 0.9.16.003Category: API - Admin
Severity: 3 - NormalPriority: 7 - High
Status: DuplicatePrivacy: Public
Assigned to: Jonathan Rivera <jarg>Open/Closed: Closed
Component Version: SVNOperating System: GNU/Linux - Debian
Reproducibility: NonePlanned Release: 0.9.16.011+
Fixed Release: 

Fri 16 Dec 2005 01:39:03 PM UTC, comment #4:

Closing it :)

Dave Hall <skwashd>
Project Administrator
Mon 15 Nov 2004 01:01:52 PM UTC, comment #3:

Ok, I still say this is a duplicate of #10371 :)
So please ask in the first bug reports, not in this one.

Thanks,
Caeies

Caeies <Caeies>
Project Administrator
Mon 15 Nov 2004 12:52:12 PM UTC, comment #2:

it isnt fixed yet

Dirk Schaller <dschaller>
Wed 27 Oct 2004 12:57:33 PM UTC, comment #1:

Ok this is a duplicate bugs with #10371 so I close this one.

Caeies

Caeies <Caeies>
Project Administrator
Fri 22 Oct 2004 12:41:03 PM UTC, original submission:

First, I give this to jarg since I see he was the author of the line 455 in addressbook, and he put the "edit_location_by_contact" line.

Step to reproduce :
When creating contacts from the creation of an account, then edit it, try to put an address : this is failing due to the
"edit_location_by_contact" missing function.

So I put this in class.contacts_sql.inc.php :
function edit_location_by_contact($id, $data, $action=PHPGW_SQL_RETURN_SQL)
{
$loc = CreateObject('phpgwapi.contact_addr');
return $loc->update($data,sql_criteria::_equal('contact_id',sql::integer($id)), $action);
}
And things seems working.
At least I can register the new address, and get it with the contact view ...

Can you do something about that ?

Thanks,

Caeies

Caeies <Caeies>
Project Administrator

 

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):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 16 Dec 2005 01:39:03 PM UTCskwashdOpen/ClosedOpen=>Closed
Mon 15 Nov 2004 01:01:52 PM UTCCaeiesStatusNone=>Duplicate
Mon 15 Nov 2004 12:52:12 PM UTCdschallerStatusDuplicate=>None
  Open/ClosedClosed=>Open
Wed 27 Oct 2004 12:57:33 PM UTCCaeiesStatusNone=>Duplicate
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1