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: Caeies
Subject: [Phpgroupware-tracker] [bugs #10766] contact backend problematic with class.contacts_sql.inc.php
Date: Wed, 27 Oct 2004 09:17:50 -0400
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7) Gecko/20040917 Firefox/0.9.3

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

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

Changes by: 
                Caeies <address@hidden>
'Date: 
                mer 27.10.2004 at 12:57 (GMT)

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


------------------ Additional Follow-up Comments ----------------------------
Ok this is a duplicate bugs with #10371 so I close this one.

Caeies






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

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

Item Group:  0.9.16.003
Category:  API - Admin
Severity:  5 - Average
Priority:  7 - High
Resolution:  Duplicate
Privacy:  Public
Assigned to:  jarg
Status:  Closed
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: mer 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]