6.0.0-beta6
4/9/26

[#9535] components script produces duplicate data_dir tasks
Summary components script produces duplicate data_dir tasks
Queue Horde Framework Packages
Queue Version Git master
Type Bug
State Resolved
Priority 1. Low
Owners wrobel (at) horde (dot) org
Requester slusarz (at) horde (dot) org
Created 1/25/11 (5553 days ago)
Due
Updated 2/20/11 (5527 days ago)
Assigned
Resolved 2/20/11 (5527 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/20/2011 08:08:22 PM Gunnar Wrobel State ⇒ Resolved
 
02/20/2011 05:28:30 PM Git Commit Comment #2 Reply to this comment
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'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
01/25/2011 06:15:48 AM Michael Slusarz Comment #1
Priority ⇒ 1. Low
Patch ⇒ No
Milestone ⇒
Assigned to Gunnar Wrobel
Queue ⇒ Horde Framework Packages
Summary ⇒ components script produces duplicate data_dir tasks
Type ⇒ Bug
State ⇒ Assigned
Reply to this comment
e.g components/bin/horde-components -u Core/ produces the following output:

...
        <file name="Translation.php" role="php">
         <tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
         <tasks:replace from="@data_dir@" to="data_dir" type="pear-config" />
        </file>
...

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

Saved Queries