Summary | user data removal patch |
Queue | Horde Framework Packages |
Queue Version | HEAD |
Type | Bug |
State | Not A Bug |
Priority | 1. Low |
Owners | |
Requester | vilius (at) lnk (dot) lt |
Created | 06/23/2008 (6219 days ago) |
Due | |
Updated | 07/14/2008 (6198 days ago) |
Assigned | 06/23/2008 (6219 days ago) |
Resolved | 07/14/2008 (6198 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | |
Patch | No |
I think we can mark this as "Not a bug" because I've already made
CyrSQL not extend from SQL driver. Will upload it to the new ticket
shortly, after someone will answer my question about it in the dev@
list.
the actual user removal into a separate method, say _removeUser() and
call that from cyrsql instead of parent::removeUser(), or add an
additional parameter to Auth_sql::removeUser() to *not* run
removeUserData(), and set this parameter when called from Auth_cyrsql.
The first one is cleaner IMO.
Auth_sql::removeUser() so this won't report any errors for people
using the sql driver directly. This is of course not acceptable.
call reports these errors anyway? With my patch and *without*
admin interface calling removeUser(). Only if using the cyrsql driver,
but not if using the sql driver.
because you are using the cyrsql driver and don't want to stop
removing the user if parent::removeUser() is returning an error due
to the removeUserData() call in the sql driver. Is this correct?
Auth_sql::removeUser() so this won't report any errors for people
using the sql driver directly. This is of course not acceptable.
call reports these errors anyway? With my patch and *without*
http://bugs.horde.org/ticket/6968 patches I'm still getting errors
from nag, mnemo etc. BUT the user is removed succefully from the
backend. What is the difference between calling removeUser() from
Auth_cyrsql and Auth_sql? As I see in the source it executes exactly
the same API call in the needed applications.
because you are using the cyrsql driver and don't want to stop
removing the user if parent::removeUser() is returning an error due to
the removeUserData() call in the sql driver. Is this correct?
But you patch unconditionally removes returning errors from
Auth_sql::removeUser() so this won't report any errors for people
using the sql driver directly. This is of course not acceptable.
except that in notification message it's not horde.warning, it's
horde.error.
I'm with Chuck here, we should still raise a warning message, and then
continue.
The question is: do we consider user data as _vital_ part of user
removal process? I don't see why it should be.
dependencies are you talking about, though - is this cyrus again?
State ⇒ Feedback
process should _really_ continue, the calling code should log the
result and then continue.
State ⇒ Unconfirmed
New Attachment: sql.php.patch
Patch ⇒ Yes
Milestone ⇒
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ user data removal patch
Queue ⇒ Horde Framework Packages
false, because drivers that depend on it stops further removal of a
user from other backends.