| 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 | 01/25/2011 (5422 days ago) |
| Due | |
| Updated | 02/20/2011 (5396 days ago) |
| Assigned | |
| Resolved | 02/20/2011 (5396 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
Bug #9535: components script produces duplicate data_dir tasksThe 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
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
...
<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