<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet href="http://bugs.horde.org/themes/feed-rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
 <channel>
  <title>user data removal patch</title>
  <pubDate>Thu, 20 Nov 2008 06:22:11 -0500</pubDate>
  <link>http://bugs.horde.org/ticket/6967</link>
  <atom:link rel="self" type="application/rss+xml" title="user data removal patch" href="http://bugs.horde.org/ticket/6967/rss" />
  <description>user data removal patch</description>

  
  
  <item>
   <title>If removeUser() is not able to remove user data, it should n</title>
   <description>If removeUser() is not able to remove user data, it should not return false, because drivers that depend on it stops further removal of a user from other backends.</description>
   <pubDate>Mon, 23 Jun 2008 15:17:33 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46736</link>
  </item>
  <item>
   <title>No, ignoring any errors isn't the way to go here - instead, </title>
   <description>No, ignoring any errors isn't the way to go here - instead, if the process should _really_ continue, the calling code should log the result and then continue.</description>
   <pubDate>Mon, 23 Jun 2008 16:37:20 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46740</link>
  </item>
  <item>
   <title>Oh, this is just for the SQL driver - I misunderstood. What </title>
   <description>Oh, this is just for the SQL driver - I misunderstood. What sort of dependencies are you talking about, though - is this cyrus again?</description>
   <pubDate>Mon, 23 Jun 2008 16:38:55 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46741</link>
  </item>
  <item>
   <title>Yep, it's Cyrus.

The question is: do we consider user dat</title>
   <description>Yep, it's Cyrus.

The question is: do we consider user data as _vital_ part of user removal process? I don't see why it should be.</description>
   <pubDate>Mon, 23 Jun 2008 16:41:36 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46742</link>
  </item>
  <item>
   <title>We should not stop the removal process if removeUserData fai</title>
   <description>We should not stop the removal process if removeUserData fails, but I'm with Chuck here, we should still raise a warning message, and then continue.</description>
   <pubDate>Tue, 24 Jun 2008 03:55:04 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46756</link>
  </item>
  <item>
   <title>Well, PEAR::Error is returned in applications's removeUserDa</title>
   <description>Well, PEAR::Error is returned in applications's removeUserData anyway except that in notification message it's not horde.warning, it's horde.error.</description>
   <pubDate>Tue, 24 Jun 2008 05:13:11 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46759</link>
  </item>
  <item>
   <title>How, if the removeUserData() implementations don't return an</title>
   <description>How, if the removeUserData() implementations don't return an error?</description>
   <pubDate>Thu, 26 Jun 2008 06:28:58 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46837</link>
  </item>
  <item>
   <title>Sorry, I don't understand. What exactly do you mean?</title>
   <description>Sorry, I don't understand. What exactly do you mean?</description>
   <pubDate>Thu, 26 Jun 2008 06:31:19 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46838</link>
  </item>
  <item>
   <title>As far as I understand from Chuck's comment, you only need t</title>
   <description>As far as I understand from Chuck's comment, you only need this 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.</description>
   <pubDate>Thu, 26 Jun 2008 06:43:45 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46840</link>
  </item>
  <item>
   <title>&gt; As far as I understand from Chuck's comment, you only need</title>
   <description>&gt; As far as I understand from Chuck's comment, you only need this 
&gt; because you are using the cyrsql driver and don't want to stop 
&gt; removing the user if parent::removeUser() is returning an error due 
&gt; to the removeUserData() call in the sql driver. Is this correct?

Yes.

&gt; But you patch unconditionally removes returning errors from 
&gt; Auth_sql::removeUser() so this won't report any errors for people 
&gt; using the sql driver directly. This is of course not acceptable.

Ghm, correct me if I'm wrong but isn't application's removeUserData() 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.</description>
   <pubDate>Thu, 26 Jun 2008 06:53:56 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46845</link>
  </item>
  <item>
   <title>&gt;&gt; But you patch unconditionally removes returning errors fr</title>
   <description>&gt;&gt; But you patch unconditionally removes returning errors from
&gt;&gt; Auth_sql::removeUser() so this won't report any errors for people
&gt;&gt; using the sql driver directly. This is of course not acceptable.
&gt;
&gt; Ghm, correct me if I'm wrong but isn't application's removeUserData() 
&gt; call reports these errors anyway? With my patch and *without* 

Yes, but it no longer is passed through Auth_sql::removeUser() to the admin interface calling removeUser(). Only if using the cyrsql driver, but not if using the sql driver.</description>
   <pubDate>Thu, 26 Jun 2008 07:38:15 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46851</link>
  </item>
  <item>
   <title>Ah, OK. What could be a possible compromise here?</title>
   <description>Ah, OK. What could be a possible compromise here?</description>
   <pubDate>Thu, 26 Jun 2008 07:54:49 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46852</link>
  </item>
  <item>
   <title>You would have to refactor the removeUser() methods. Either </title>
   <description>You would have to refactor the removeUser() methods. Either split off 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.</description>
   <pubDate>Thu, 26 Jun 2008 08:49:08 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t46856</link>
  </item>
  <item>
   <title>Ping?</title>
   <description>Ping?</description>
   <pubDate>Mon, 30 Jun 2008 15:56:59 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t47044</link>
  </item>
  <item>
   <title>Ping again?</title>
   <description>Ping again?</description>
   <pubDate>Sun, 13 Jul 2008 05:18:42 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t47488</link>
  </item>
  <item>
   <title>Sorry for the delay, very busy pas two weeks here.

I thin</title>
   <description>Sorry for the delay, very busy pas two weeks here.

I think we can mark this as &quot;Not a bug&quot; 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.</description>
   <pubDate>Mon, 14 Jul 2008 03:11:10 -0400</pubDate>
   <link>http://bugs.horde.org/ticket/6967#t47503</link>
  </item>
  

 </channel>
</rss>
