<?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>BC break in Horde_Share::listShares() method signature</title> 
  <pubDate>Fri, 10 Apr 2026 19:28:20 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/7820</link> 
  <atom:link rel="self" type="application/rss+xml" title="BC break in Horde_Share::listShares() method signature" href="https://bugs.horde.org/ticket/7820/rss" /> 
  <description>BC break in Horde_Share::listShares() method signature</description> 
 
   
   
  <item> 
   <title>We have Horde version 3.1.5.



----8&lt;----

Dec 31 13:20:40 </title> 
   <description>We have Horde version 3.1.5.



----8&lt;----

Dec 31 13:20:40 HORDE [error] [nag] 0 does not exist [on line 281 of &quot;/home/httpd/html/horde/nag-h3-2.3.1/lib/Nag.php&quot;]

----8&lt;----



There is listShares function call in Nag.php at line 281. There seems to be wrong parameters for listShares function.

Original version of line 282:

----8&lt;----

        $tasklists = $GLOBALS[&#039;nag_shares&#039;]-&gt;listShares(Auth::getAuth(), $permission, $owneronly ? Auth::getAuth() : null, 0, 0, &#039;name&#039;);

----8&lt;----



I added &#039;parent&#039; and &#039;allLevels&#039; parameters in the middle on parameters:

----8&lt;----

        $tasklists = $GLOBALS[&#039;nag_shares&#039;]-&gt;listShares(Auth::getAuth(), $permission, $owneronly ? Auth::getAuth() : null, DATATREE_ROOT, true, 0, 0, &#039;name&#039;);

----8&lt;----





The behaves now quite well. But I don&#039;t have any idea what &#039;parent&#039; and &#039;allLevels&#039; parameters should be.</description> 
   <pubDate>Wed, 31 Dec 2008 12:07:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51526</link> 
  </item> 
   
  <item> 
   <title>You&#039;re going to need a different Horde version or a differen</title> 
   <description>You&#039;re going to need a different Horde version or a different Nag version. At this point I&#039;m not sure if any Nag version should have worked with that version of listShares; it&#039;s more likely to be an unintentional BC break when going from x.1.x to x.2.x.</description> 
   <pubDate>Sun, 04 Jan 2009 06:24:32 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51543</link> 
  </item> 
   
  <item> 
   <title>I don&#039;t think there&#039;s anything we can do about this at this </title> 
   <description>I don&#039;t think there&#039;s anything we can do about this at this point - anyone else?</description> 
   <pubDate>Mon, 12 Jan 2009 04:19:40 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51662</link> 
  </item> 
   
  <item> 
   <title>Reverting to the original signature in Horde_Share would bre</title> 
   <description>Reverting to the original signature in Horde_Share would break forward compatibility, so I guess the cheapest solution is to test for the Horde version in the three places where we actually use the additional parameters and add a switch there.</description> 
   <pubDate>Mon, 12 Jan 2009 10:53:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51669</link> 
  </item> 
   
  <item> 
   <title>The three places would be:

nag/lib/Nag.php

mnemo/lib/Mnemo</title> 
   <description>The three places would be:

nag/lib/Nag.php

mnemo/lib/Mnemo.php

kronolith/lib/Kronolith.php

and additionally:

incubator/spread/lib/Spread.php</description> 
   <pubDate>Mon, 12 Jan 2009 10:56:41 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51670</link> 
  </item> 
   
  <item> 
   <title>For posterity, this happened because I removed the listShare</title> 
   <description>For posterity, this happened because I removed the listShares() method completely in this commit:

http://cvs.horde.org/diff.php/framework/Share/Share.php?r1=1.142&amp;r2=1.143



And then when the extended parameters were added back in, $parent and $allLevels weren&#039;t there since this was no longer DataTree-specific code:

http://cvs.horde.org/diff.php/framework/Share/Share.php?r1=1.162&amp;r2=1.163</description> 
   <pubDate>Tue, 13 Jan 2009 04:28:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51681</link> 
  </item> 
   
  <item> 
   <title>Proposed patch for Nag, I&#039;ll add Mnemo and Kronolith (FW_3 o</title> 
   <description>Proposed patch for Nag, I&#039;ll add Mnemo and Kronolith (FW_3 only) if this looks good. No need for spread to be compatible with Horde 3.1.</description> 
   <pubDate>Tue, 13 Jan 2009 04:36:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51682</link> 
  </item> 
   
  <item> 
   <title>Looks good.</title> 
   <description>Looks good.</description> 
   <pubDate>Tue, 13 Jan 2009 12:07:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51691</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/kronolith/docs/CHANGES?rt=horde&amp;r1=1.165.2.246&amp;r2=1.165.2.247&amp;ty=u
http://cvs.horde.org/diff.php/kronolith/lib/Kronolith.php?rt=horde&amp;r1=1.263.2.79&amp;r2=1.263.2.80&amp;ty=u
http://cvs.horde.org/diff.php/nag/docs/CHANGES?rt=horde&amp;r1=1.115.2.109&amp;r2=1.115.2.110&amp;ty=u
http://cvs.horde.org/diff.php/nag/lib/Nag.php?rt=horde&amp;r1=1.124.2.32&amp;r2=1.124.2.33&amp;ty=u</description> 
   <pubDate>Tue, 13 Jan 2009 15:46:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51696</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in CVS for this ticket:

http://cvs.h</title> 
   <description>Changes have been made in CVS for this ticket:

http://cvs.horde.org/diff.php/mnemo/docs/CHANGES?rt=horde&amp;r1=1.63.2.76&amp;r2=1.63.2.77&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/lib/Mnemo.php?rt=horde&amp;r1=1.52.2.14&amp;r2=1.52.2.15&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/lib/api.php?rt=horde&amp;r1=1.53.2.31&amp;r2=1.53.2.32&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/lib/prefs.php?rt=horde&amp;r1=1.2.10.9&amp;r2=1.2.10.10&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/memo.php?rt=horde&amp;r1=1.42.2.12&amp;r2=1.42.2.13&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/templates/data/import.inc?rt=horde&amp;r1=1.11.10.4&amp;r2=1.11.10.5&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/templates/panel.inc?rt=horde&amp;r1=1.6.2.4&amp;r2=1.6.2.5&amp;ty=u
http://cvs.horde.org/diff.php/mnemo/templates/prefs/notepadselect.inc?rt=horde&amp;r1=1.4.12.2&amp;r2=1.4.12.3&amp;ty=u</description> 
   <pubDate>Tue, 13 Jan 2009 15:47:36 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51697</link> 
  </item> 
   
  <item> 
   <title>Committed.</title> 
   <description>Committed.</description> 
   <pubDate>Tue, 13 Jan 2009 15:50:47 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/7820#t51698</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
