<?xml version="1.0" encoding="UTF-8"?> 
<?xml-stylesheet href="https://dev.horde.org/themes/horde//default/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>Fri, 10 Apr 2026 04:38:51 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/6967</link> 
  <atom:link rel="self" type="application/rss+xml" title="user data removal patch" href="https://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 19:17:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46736</link> 
  </item> 
   
  <item> 
   <title>No, ignoring any errors isn&#039;t the way to go here - instead, </title> 
   <description>No, ignoring any errors isn&#039;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 20:37:20 +0000</pubDate> 
   <link>https://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 20:38:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46741</link> 
  </item> 
   
  <item> 
   <title>Yep, it&#039;s Cyrus.



The question is: do we consider user dat</title> 
   <description>Yep, it&#039;s Cyrus.



The question is: do we consider user data as _vital_ part of user removal process? I don&#039;t see why it should be.</description> 
   <pubDate>Mon, 23 Jun 2008 20:41:36 +0000</pubDate> 
   <link>https://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&#039;m with Chuck here, we should still raise a warning message, and then continue.</description> 
   <pubDate>Tue, 24 Jun 2008 07:55:04 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46756</link> 
  </item> 
   
  <item> 
   <title>Well, PEAR::Error is returned in applications&#039;s removeUserDa</title> 
   <description>Well, PEAR::Error is returned in applications&#039;s removeUserData anyway except that in notification message it&#039;s not horde.warning, it&#039;s horde.error.</description> 
   <pubDate>Tue, 24 Jun 2008 09:13:11 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46759</link> 
  </item> 
   
  <item> 
   <title>How, if the removeUserData() implementations don&#039;t return an</title> 
   <description>How, if the removeUserData() implementations don&#039;t return an error?</description> 
   <pubDate>Thu, 26 Jun 2008 10:28:58 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46837</link> 
  </item> 
   
  <item> 
   <title>Sorry, I don&#039;t understand. What exactly do you mean?</title> 
   <description>Sorry, I don&#039;t understand. What exactly do you mean?</description> 
   <pubDate>Thu, 26 Jun 2008 10:31:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46838</link> 
  </item> 
   
  <item> 
   <title>As far as I understand from Chuck&#039;s comment, you only need t</title> 
   <description>As far as I understand from Chuck&#039;s comment, you only need this because you are using the cyrsql driver and don&#039;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&#039;t report any errors for people using the sql driver directly. This is of course not acceptable.</description> 
   <pubDate>Thu, 26 Jun 2008 10:43:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46840</link> 
  </item> 
   
  <item> 
   <title>&gt; As far as I understand from Chuck&#039;s comment, you only need</title> 
   <description>&gt; As far as I understand from Chuck&#039;s comment, you only need this 

&gt; because you are using the cyrsql driver and don&#039;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&#039;t report any errors for people 

&gt; using the sql driver directly. This is of course not acceptable.



Ghm, correct me if I&#039;m wrong but isn&#039;t application&#039;s removeUserData() call reports these errors anyway? With my patch and *without* http://bugs.horde.org/ticket/6968 patches I&#039;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 10:53:56 +0000</pubDate> 
   <link>https://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&#039;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&#039;m wrong but isn&#039;t application&#039;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 11:38:15 +0000</pubDate> 
   <link>https://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 11:54:49 +0000</pubDate> 
   <link>https://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 12:49:08 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t46856</link> 
  </item> 
   
  <item> 
   <title>Ping?</title> 
   <description>Ping?</description> 
   <pubDate>Mon, 30 Jun 2008 19:56:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t47044</link> 
  </item> 
   
  <item> 
   <title>Ping again?</title> 
   <description>Ping again?</description> 
   <pubDate>Sun, 13 Jul 2008 09:18:42 +0000</pubDate> 
   <link>https://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&#039;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 07:11:10 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/6967#t47503</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
