phpgroupware-tracker
[Top][All Lists]
Advanced

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

[Phpgroupware-tracker] [bugs #10766] contact backend problematic with cl


From: Dirk Schaller
Subject: [Phpgroupware-tracker] [bugs #10766] contact backend problematic with class.contacts_sql.inc.php
Date: Mon, 15 Nov 2004 07:58:04 -0500
User-agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322)

This mail is an automated notification from the bugs tracker
 of the project: phpGroupWare.

/**************************************************************************/
[bugs #10766] Latest Modifications:

Changes by: 
                Dirk Schaller <address@hidden>
'Date: 
                Mon 15.11.2004 at 12:52 (GMT)

            What     | Removed                   | Added
---------------------------------------------------------------------------
          Resolution | Duplicate                 | None
              Status | Closed                    | Open


------------------ Additional Follow-up Comments ----------------------------
it isnt fixed yet






/**************************************************************************/
[bugs #10766] Full Item Snapshot:

URL: <http://savannah.gnu.org/bugs/?func=detailitem&item_id=10766>
Project: phpGroupWare
Submitted by: Caeies
On: Fre 22.10.2004 at 12:41

Item Group:  0.9.16.003
Category:  API - Admin
Severity:  5 - Average
Priority:  7 - High
Resolution:  None
Privacy:  Public
Assigned to:  jarg
Status:  Open
Component Version:  CVS
Platform Version:  GNU/Linux - Debian
Reproducibility:  None
Planned Release:  0.9.16.003+
Fixed Release:  


Summary:  contact backend problematic with class.contacts_sql.inc.php

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

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


-------------------------------------------------------
Date: Mon 15.11.2004 at 12:52       By: Dirk Schaller <dschaller>
it isnt fixed yet

-------------------------------------------------------
Date: Mit 27.10.2004 at 12:57       By: Caeies <Caeies>
Ok this is a duplicate bugs with #10371 so I close this one.

Caeies












For detailed info, follow this link:
<http://savannah.gnu.org/bugs/?func=detailitem&item_id=10766>

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







reply via email to

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