[Tickets #6165] Unable to delete a client

bugs at horde.org bugs at horde.org
Mon Jan 28 21:35:19 UTC 2008


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=6165
-----------------------------------------------------------------------
 Ticket             | 6165
 Created By         | paul.g.roy at uottawa.ca
 Summary            | Unable to delete a client
 Queue              | Midas
 Version            | HEAD
 Type               | Bug
 State              | Unconfirmed
 Priority           | 2. Medium
 Milestone          | 
 Patch              | 
 Owners             | 
-----------------------------------------------------------------------


paul.g.roy at uottawa.ca (2008-01-28 16:35) wrote:

Cannot delete an existing client. The Delete button simply cycles back to
the delete page removing the client from the DB.

2 problems:

Problem 1 is in midas/clients/delete.php on line 43:

$vars = new Variables($client);

- this line clears the 'formname' var on submit and causes form validation
to fail and as a result line 59 is not executed

Problem 2 is in midas/lib/Clients.php in function deleteClient:

this function deletes the campaigns associated to a client, but does not
call _deleteClient($client_id) in midas/lib/Clients/sql.php to delete the
main client details in the midas_clients table


Using:
- Horde 4.0-cvs and Midas CVS update from 28 Jan 2008
- midas/clients/delete.php  version is v 1.24 2008/01/02
- midas/lib/Clients.php version is v 1.23 2008/01/02
- midas/lib/Clients/sql.php version is v 1.16 2008/01/02




More information about the bugs mailing list