<?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>display_tasklists is saved on every page access</title> 
  <pubDate>Fri, 10 Apr 2026 15:00:33 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9219</link> 
  <atom:link rel="self" type="application/rss+xml" title="display_tasklists is saved on every page access" href="https://bugs.horde.org/ticket/9219/rss" /> 
  <description>display_tasklists is saved on every page access</description> 
 
   
   
  <item> 
   <title>The code in Nag#initialize() saves the value of display_task</title> 
   <description>The code in Nag#initialize() saves the value of display_tasklists every time it is run.  Should be refactored to only save if tasklist changes. 

Noticed this in my logs when doing a dimp poll refresh - for some reason, display_tasklists was being updated.

Not familiar with the code but making the assumption that display_tasklists doesn&#039;t change on a regular basis.  (If it does, it should not be a preference at all).</description> 
   <pubDate>Fri, 03 Sep 2010 17:44:45 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9219#t59825</link> 
  </item> 
   
  <item> 
   <title>This happens in other applications, for example Kronolith, a</title> 
   <description>This happens in other applications, for example Kronolith, all the time. But the prefs library is only saving it when the preference value changed. Are you saying this check doesn&#039;t work anymore, or is the preference value really changed?</description> 
   <pubDate>Tue, 21 Sep 2010 16:16:01 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9219#t60087</link> 
  </item> 
   
  <item> 
   <title>Seeing this all over the place:

2010-09-22T00:39:08-06:00</title> 
   <description>Seeing this all over the place:

2010-09-22T00:39:08-06:00 DEBUG: HORDE [nag] Horde_Prefs: Storing preference value (display_tasklists) [pid 30516 on line 257 of &quot;/disk2/src/horde/framework/Prefs/lib/Horde/Prefs.php&quot;]

As someone who never uses nag, I have no idea why this needs/should be updated every page load.  Even if the value isn&#039;t changing, we shouldn&#039;t be wasting time recreating at all.  At a minimum, this really needs to be cached (see, e.g., caching IMP&#039;s folder tree using session caching as a fallback if no Cache system is available).</description> 
   <pubDate>Wed, 22 Sep 2010 06:45:33 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9219#t60106</link> 
  </item> 
   
  <item> 
   <title>&gt; Seeing this all over the place:
&gt;
&gt; 2010-09-22T00:39:08-</title> 
   <description>&gt; Seeing this all over the place:
&gt;
&gt; 2010-09-22T00:39:08-06:00 DEBUG: HORDE [nag] Horde_Prefs: Storing 
&gt; preference value (display_tasklists) [pid 30516 on line 257 of 
&gt; &quot;/disk2/src/horde/framework/Prefs/lib/Horde/Prefs.php&quot;]

Move it further down into the if-clause where the saving is actually triggered. :)

&gt; As someone who never uses nag, I have no idea why this needs/should 
&gt; be updated every page load.  Even if the value isn&#039;t changing, we 
&gt; shouldn&#039;t be wasting time recreating at all.  At a minimum, this 
&gt; really needs to be cached (see, e.g., caching IMP&#039;s folder tree using 
&gt; session caching as a fallback if no Cache system is available).

It&#039;s almost a no-op, so I wouldn&#039;t really care about that. And you probably see this because of the Copy/Move to Tasklist feature.</description> 
   <pubDate>Wed, 22 Sep 2010 23:54:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9219#t60128</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Request #921</title> 
   <description>Changes have been made in Git for this ticket:

Request #9219: Move pref saving logging to a more appropriate location

http://git.horde.org/diff.php/framework/Prefs/lib/Horde/Prefs.php?rt=horde-git&amp;r1=77e3dd782f525dadbb88512854d903ac2d7f9cb9&amp;r2=b4a73fd1a465e79c3be80e12e225f7cc6c268dcd</description> 
   <pubDate>Thu, 23 Sep 2010 19:06:31 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9219#t60142</link> 
  </item> 
   
  <item> 
   <title>&gt;&gt; Seeing this all over the place:
&gt;&gt;
&gt;&gt; 2010-09-22T00:39:</title> 
   <description>&gt;&gt; Seeing this all over the place:
&gt;&gt;
&gt;&gt; 2010-09-22T00:39:08-06:00 DEBUG: HORDE [nag] Horde_Prefs: Storing
&gt;&gt; preference value (display_tasklists) [pid 30516 on line 257 of
&gt;&gt; &quot;/disk2/src/horde/framework/Prefs/lib/Horde/Prefs.php&quot;]
&gt;
&gt; Move it further down into the if-clause where the saving is actually 
&gt; triggered. :)

Done.

&gt;&gt; As someone who never uses nag, I have no idea why this needs/should
&gt;&gt; be updated every page load.  Even if the value isn&#039;t changing, we
&gt;&gt; shouldn&#039;t be wasting time recreating at all.  At a minimum, this
&gt;&gt; really needs to be cached (see, e.g., caching IMP&#039;s folder tree using
&gt;&gt; session caching as a fallback if no Cache system is available).
&gt;
&gt; It&#039;s almost a no-op, so I wouldn&#039;t really care about that. And you 
&gt; probably see this because of the Copy/Move to Tasklist feature.

OK.  I&#039;ll close this ticket.</description> 
   <pubDate>Thu, 23 Sep 2010 19:07:51 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9219#t60143</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
