FAQ
Edit report at http://pear.php.net/bugs/bug.php?id=15534&edit=1

ID: 15534
Updated by: [email protected]
Reported By: ohlesbeauxjours at yahoo dot fr
Summary: Multiple phprelease not handled correctly
Status: Open
Type: Bug
-Package: PEAR_PackageFileManager
+Package: PEAR_PackageFileManager2
Operating System: Win
Package Version: 1.6.3
PHP Version: 5.2.8
Roadmap Versions:
New Comment:

-Package: PEAR_PackageFileManager
+Package: PEAR_PackageFileManager2



Previous Comments:
------------------------------------------------------------------------

[2009-01-07 07:31:58] baptiste

Description:
------------
Have a look at the code below.
PFM complains that it is not allowed to have both an "ignore" and an
"install" task for the file "scripts/phpuml.bat".
Buf if you look carefully the code, you will see that those two tasks
belong to distinct phpreleases, so it should not raise an error, IMO.

<phprelease>
<installconditions>
<os>
<name>windows</name>
</os>
</installconditions>
<filelist>
<install as="phpuml" name="scripts/phpuml" />
<install as="phpuml.bat" name="scripts/phpuml.bat" />
</filelist>
</phprelease>
<phprelease>
<filelist>
<install as="phpuml" name="scripts/phpuml" />
<ignore name="scripts/phpuml.bat" />
</filelist>
</phprelease>

Test script:
---------------
Irrelevant

Expected result:
----------------
Used along with PFM_Cli, that bug is all the more tricky, as no message
is printed when you select "14 - Save and Quit", on updating a
package.xml that contains such a double <phprelease>.
I have noticed that something went wrong only because all the
modifications that I had done in PFM had been lost, because of that bug.

------------------------------------------------------------------------

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 2 | next ›
Discussion Overview
grouppear-bugs @
categoriesphp
postedMar 24, '11 at 12:07a
activeMar 28, '11 at 2:53a
posts2
users1
websitepear.php.net

1 user in discussion

Helgith: 2 posts

People

Translate

site design / logo © 2023 Grokbase