<?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>nag: Updating tasks with a Kolab backend fails</title> 
  <pubDate>Fri, 10 Apr 2026 16:31:16 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/11277</link> 
  <atom:link rel="self" type="application/rss+xml" title="nag: Updating tasks with a Kolab backend fails" href="https://bugs.horde.org/ticket/11277/rss" /> 
  <description>nag: Updating tasks with a Kolab backend fails</description> 
 
   
   
  <item> 
   <title>Hi,

updating an existing task with a Kolab backend fails </title> 
   <description>Hi,

updating an existing task with a Kolab backend fails with this error message:

2012-07-14T19:19:37+02:00 NOTICE: HORDE [nag] PHP ERROR: Trying to get property of non-object [pid 20767 on line 33 of &quot;/datastore/DEVEL/horde/framework/Core/lib/Horde/Core/Controller/SettingsFinder.php&quot;]
2012-07-14T19:19:37+02:00 WARN: HORDE [nag] PHP ERROR: number_format() expects parameter 1 to be double, string given [pid 20767 on line 306 of &quot;/datastore/DEVEL/horde/nag/lib/Driver/Kolab.php&quot;]

Kolab backend driver used is &#039;pear&#039;.

Cheers,
Thomas
</description> 
   <pubDate>Sat, 14 Jul 2012 17:20:56 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71862</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit b6ad86d97e8</title> 
   <description>Changes have been made in Git (develop):

commit b6ad86d97e8a06e24c7c3a07e94061edeb9ad5ed
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jul 17 13:43:58 2012 +0200

    Avoid notice if there is no parent class (Bug #11277).

 .../lib/Horde/Core/Controller/SettingsFinder.php   |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/b6ad86d97e8a06e24c7c3a07e94061edeb9ad5ed</description> 
   <pubDate>Tue, 17 Jul 2012 11:57:19 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71891</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit 376e68ce06f</title> 
   <description>Changes have been made in Git (develop):

commit 376e68ce06f804e7af69ee88c73069f9528896c5
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jul 17 13:54:43 2012 +0200

    Cast to float (Bug #11277).

 nag/lib/Driver/Kolab.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/376e68ce06f804e7af69ee88c73069f9528896c5</description> 
   <pubDate>Tue, 17 Jul 2012 11:57:25 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71892</link> 
  </item> 
   
  <item> 
   <title>&gt; 2012-07-14T19:19:37+02:00 NOTICE: HORDE [nag] PHP ERROR: T</title> 
   <description>&gt; 2012-07-14T19:19:37+02:00 NOTICE: HORDE [nag] PHP ERROR: Trying to 
&gt; get property of non-object [pid 20767 on line 33 of 
&gt; &quot;/datastore/DEVEL/horde/framework/Core/lib/Horde/Core/Controller/SettingsFinder.php&quot;]
&gt; 2012-07-14T19:19:37+02:00 WARN: HORDE [nag] PHP ERROR: 
&gt; number_format() expects parameter 1 to be double, string given [pid 
&gt; 20767 on line 306 of 
&gt; &quot;/datastore/DEVEL/horde/nag/lib/Driver/Kolab.php&quot;]

Those don&#039;t keep the task from being saved, but are fixed now nonetheless.

&gt; Kolab backend driver used is &#039;pear&#039;.

Not sure what you mean by that. By default the Kolab and IMAP backends use the Horde_Imap_Client library, not PEAR, and AFAICS there is no way to change that in the configuration. This is for a good reason, because the PEAR driver is not well tested.</description> 
   <pubDate>Tue, 17 Jul 2012 11:59:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71893</link> 
  </item> 
   
  <item> 
   <title>The &#039;pear&#039; driver was just a hack of mine to get it working </title> 
   <description>The &#039;pear&#039; driver was just a hack of mine to get it working -somehow-.
I&#039;ve now reverted that hack.

Updating f.e. the description of a task is now possible.

But I can&#039;t mark a task as done via the UI. Nothing happens and this error message is in the logs:

2012-07-18T17:10:26+02:00 NOTICE: HORDE [nag] PHP ERROR: Undefined index: _REQUEST [pid 4151 on line 45 of &quot;/datastore/DEVEL/horde/framework/Controller/lib/Horde/Controller/Request/Http.php&quot;]
2012-07-18T17:10:26+02:00 NOTICE: HORDE [nag] PHP ERROR: Undefined index: format [pid 4151 on line 40 of &quot;/datastore/DEVEL/horde/nag/app/controllers/CompleteTask.php&quot;]
</description> 
   <pubDate>Wed, 18 Jul 2012 15:12:35 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71907</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit af10bded7d5</title> 
   <description>Changes have been made in Git (develop):

commit af10bded7d53b7150a765ef813ce72b9485bb0d7
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Thu Jul 19 02:32:18 2012 +0200

    Fix notice (Bug #11277).

 nag/app/controllers/CompleteTask.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/af10bded7d53b7150a765ef813ce72b9485bb0d7</description> 
   <pubDate>Thu, 19 Jul 2012 00:56:37 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71919</link> 
  </item> 
   
  <item> 
   <title>You have locked down or otherwise disabled the request_order</title> 
   <description>You have locked down or otherwise disabled the request_order PHP setting.</description> 
   <pubDate>Thu, 19 Jul 2012 01:06:39 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71923</link> 
  </item> 
   
  <item> 
   <title>&gt; You have locked down or otherwise disabled the request_ord</title> 
   <description>&gt; You have locked down or otherwise disabled the request_order PHP setting.

The PHP installation is pretty vanilla, no special lock downs.

This might also be a &quot;performance optimization&quot; of newer PHP versions:
https://bugs.php.net/bug.php?id=55088

I just wrote this small test script based upon the Horde code:
-----------------------------------------
&lt;?php
function getVars($name)
{
    return $GLOBALS[&#039;_&#039; . $name];
}

echo &quot;&lt;pre&gt;\n&quot;;
print_r(getVars(REQUEST));
print_r($GLOBALS);
print_r($_REQUEST);              // check result with this line commented out
echo &quot;&lt;/pre&gt;\n&quot;;
-----------------------------------------

The $GLOBALS array will only contain _REQUEST if the print_r($_REQUEST) is in place.
</description> 
   <pubDate>Thu, 19 Jul 2012 11:28:17 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71929</link> 
  </item> 
   
  <item> 
   <title>Alright, the PHP manual clearly states this:

&quot;Superglobal</title> 
   <description>Alright, the PHP manual clearly states this:

&quot;Superglobals cannot be used as variable variables inside functions or class methods.&quot;
(http://www.php.net/manual/en/language.variables.superglobals.php)

-&gt; We construct a variable variable on the fly inside the code.

I&#039;m going to provide a patch for this.
</description> 
   <pubDate>Sat, 21 Jul 2012 14:30:28 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71982</link> 
  </item> 
   
  <item> 
   <title>Attached is the patch to fix the issue.

I&#039;m still surpris</title> 
   <description>Attached is the patch to fix the issue.

I&#039;m still surprised it didn&#039;t break earlier for other users :)

Now I can mark items as complete in nag again.
</description> 
   <pubDate>Sat, 21 Jul 2012 14:53:03 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t71983</link> 
  </item> 
   
  <item> 
   <title>&gt; -&gt; We construct a variable variable on the fly inside the </title> 
   <description>&gt; -&gt; We construct a variable variable on the fly inside the code.

No, we don&#039;t. This is not a variable variable that we use, we just access the superglobals as items of the $GLOBALS array, which is perfectly valid and has always been.</description> 
   <pubDate>Thu, 09 Aug 2012 18:41:22 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t72155</link> 
  </item> 
   
  <item> 
   <title>&gt; This might also be a &quot;performance optimization&quot; of newer P</title> 
   <description>&gt; This might also be a &quot;performance optimization&quot; of newer PHP versions:
&gt; https://bugs.php.net/bug.php?id=55088

But this is what we&#039;re hitting.</description> 
   <pubDate>Thu, 09 Aug 2012 18:47:02 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t72156</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (develop):

commit ad59737f388</title> 
   <description>Changes have been made in Git (develop):

commit ad59737f3889414ad2b675d7ad2cbde84238cb7a
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Thu Aug 9 20:54:15 2012 +0200

    Fix super global access (Bug #11277).
    
    PHP is optimized so that super globals are only made available if they are
    detected by the parser. Thus they cannot be accessed reliably as variable
    variables or $GLOBALS members.

 .../lib/Horde/Controller/Request/Http.php          |   22 ++++----------
 .../lib/Horde/Controller/Request/Mock.php          |   30 ++++++++++++++++++++
 framework/Controller/package.xml                   |    4 +-
 3 files changed, 38 insertions(+), 18 deletions(-)

http://git.horde.org/horde-git/-/commit/ad59737f3889414ad2b675d7ad2cbde84238cb7a</description> 
   <pubDate>Thu, 09 Aug 2012 18:56:14 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t72157</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit b6ad86d97e8a</title> 
   <description>Changes have been made in Git (master):

commit b6ad86d97e8a06e24c7c3a07e94061edeb9ad5ed
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jul 17 13:43:58 2012 +0200

    Avoid notice if there is no parent class (Bug #11277).

 .../lib/Horde/Core/Controller/SettingsFinder.php   |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

http://git.horde.org/horde-git/-/commit/b6ad86d97e8a06e24c7c3a07e94061edeb9ad5ed</description> 
   <pubDate>Wed, 29 Aug 2012 12:42:55 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t72573</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit 376e68ce06f8</title> 
   <description>Changes have been made in Git (master):

commit 376e68ce06f804e7af69ee88c73069f9528896c5
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Tue Jul 17 13:54:43 2012 +0200

    Cast to float (Bug #11277).

 nag/lib/Driver/Kolab.php |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/376e68ce06f804e7af69ee88c73069f9528896c5</description> 
   <pubDate>Wed, 29 Aug 2012 12:42:59 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t72574</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit af10bded7d53</title> 
   <description>Changes have been made in Git (master):

commit af10bded7d53b7150a765ef813ce72b9485bb0d7
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Thu Jul 19 02:32:18 2012 +0200

    Fix notice (Bug #11277).

 nag/app/controllers/CompleteTask.php |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://git.horde.org/horde-git/-/commit/af10bded7d53b7150a765ef813ce72b9485bb0d7</description> 
   <pubDate>Wed, 29 Aug 2012 12:43:26 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t72581</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git (master):

commit ad59737f3889</title> 
   <description>Changes have been made in Git (master):

commit ad59737f3889414ad2b675d7ad2cbde84238cb7a
Author: Jan Schneider &lt;jan@horde.org&gt;
Date:   Thu Aug 9 20:54:15 2012 +0200

    Fix super global access (Bug #11277).
    
    PHP is optimized so that super globals are only made available if they are
    detected by the parser. Thus they cannot be accessed reliably as variable
    variables or $GLOBALS members.

 .../lib/Horde/Controller/Request/Http.php          |   22 ++++----------
 .../lib/Horde/Controller/Request/Mock.php          |   30 ++++++++++++++++++++
 framework/Controller/package.xml                   |    4 +-
 3 files changed, 38 insertions(+), 18 deletions(-)

http://git.horde.org/horde-git/-/commit/ad59737f3889414ad2b675d7ad2cbde84238cb7a</description> 
   <pubDate>Wed, 29 Aug 2012 12:47:20 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/11277#t72625</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
