[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-tracker] [bug #5312] delete record function (sql_builder)
From: |
nobody |
Subject: |
[Phpgroupware-tracker] [bug #5312] delete record function (sql_builder) |
Date: |
Tue, 16 Sep 2003 22:48:30 -0400 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030827 Galeon/1.3.9 |
=================== BUG #5312: LATEST MODIFICATIONS ==================
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5312&group_id=509
Changes by: Edgar Luna <address@hidden>
Date: Tue 09/16/03 at 20:48 (America/Mexico_City)
What | Removed | Added
---------------------------------------------------------------------------
Resolution | None | Fixed
Status | Open | Closed
------------------ Additional Follow-up Comments ----------------------------
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,
=================== BUG #5312: FULL BUG SNAPSHOT ===================
Submitted by: jarg Project: phpGroupWare
Submitted on: Mon 09/15/03 at 08:54
Category: API - phpGWapi Bug Group: 0.9.16RC1
Severity: 5 - Major Priority: None
Resolution: Fixed Assigned to: eald
Status: Closed Component Version: None
Platform Version: None Reproducibility: None
Summary: delete record function (sql_builder)
Original Submission: i don't know if this is a bug or i don't know how to use
this function. I want delete one record with 2 criterias.
function delete_org_person_relation($org_id, $person_id,
$action=PHPGW_SQL_RUN_SQL)
{
return
$this->_delete(sql_criteria::and_(sql_criteria::equal('my_org_id', $org_id),
sql_criteria::equal('my_person_id',
$person_id)), $action); }
but i have this error:
Fatal error: Call to a member function on a non-object in
/home/jarg/public_html/phpgroupware/phpgwapi/inc/class.sql_builder.inc.php on
line 971
Follow-up Comments
*******************
-------------------------------------------------------
Date: Tue 09/16/03 at 20:48 By: eald
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: Mon 09/15/03 at 17:13 By: eald
ok, from the doc:
http://co.com.mx/~eald/phpdoc-sql/sql/sql_builder.html#method_delete
you need to call the delete method in the entity, not in builder. I'm doing a
delete that accept tokens now. Wait a bit for it
CC list is empty
No files currently attached
For detailed info, follow this link:
http://savannah.gnu.org/bugs/?func=detailbug&bug_id=5312&group_id=509
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/