<?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>components script produces duplicate data_dir tasks</title> 
  <pubDate>Fri, 10 Apr 2026 01:05:00 +0000</pubDate> 
  <link>https://bugs.horde.org/ticket/9535</link> 
  <atom:link rel="self" type="application/rss+xml" title="components script produces duplicate data_dir tasks" href="https://bugs.horde.org/ticket/9535/rss" /> 
  <description>components script produces duplicate data_dir tasks</description> 
 
   
   
  <item> 
   <title>e.g components/bin/horde-components -u Core/ produces the fo</title> 
   <description>e.g components/bin/horde-components -u Core/ produces the following output:

...
       &lt;file name=&quot;Translation.php&quot; role=&quot;php&quot;&gt;
        &lt;tasks:replace from=&quot;@data_dir@&quot; to=&quot;data_dir&quot; type=&quot;pear-config&quot; /&gt;
        &lt;tasks:replace from=&quot;@data_dir@&quot; to=&quot;data_dir&quot; type=&quot;pear-config&quot; /&gt;
       &lt;/file&gt;
...

Running the same command again after package.xml is updated results in:

PHP Notice:  Undefined index: attribs in /disk2/src/horde/components/lib/Components/Pear/Package/Tasks.php on line 88

Notice: Undefined index: attribs in /disk2/src/horde/components/lib/Components/Pear/Package/Tasks.php on line 88
PHP Notice:  Undefined index: attribs in /disk2/src/horde/components/lib/Components/Pear/Package/Tasks.php on line 89

Notice: Undefined index: attribs in /disk2/src/horde/components/lib/Components/Pear/Package/Tasks.php on line 89
PHP Notice:  Undefined index: attribs in /disk2/src/horde/components/lib/Components/Pear/Package/Tasks.php on line 90

Notice: Undefined index: attribs in /disk2/src/horde/components/lib/Components/Pear/Package/Tasks.php on line 90</description> 
   <pubDate>Tue, 25 Jan 2011 06:15:48 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9535#t61571</link> 
  </item> 
   
  <item> 
   <title>Changes have been made in Git for this ticket:

Bug #9535: c</title> 
   <description>Changes have been made in Git for this ticket:

Bug #9535: components script produces duplicate data_dir tasks
The PackageFileManager keeps a record of tasks and they won&#039;t get lost
even when reseting the contents of a package before regenerating the
file list ... *but* you have to be in the directory of the package for
that to work - which is visible from a glob() call somewhere deep down
in the code. Argh....

http://git.horde.org/horde-git/-/commit/842bcc4044cce2fecb7ebd7aa2a9487f21e8a757</description> 
   <pubDate>Sun, 20 Feb 2011 17:28:30 +0000</pubDate> 
   <link>https://bugs.horde.org/ticket/9535#t61871</link> 
  </item> 
   
   
 
 </channel> 
</rss> 
