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

ID: 15534
Updated by: helgith@gmail.com
Reported By: ohlesbeauxjours at yahoo dot fr
Summary: Multiple phprelease not handled correctly
Status: Open
Type: Bug
Package: PEAR_PackageFileManager2
Operating System: Win
PHP Version: 5.2.8
-Assigned To:
+Assigned To: dufuz
Roadmap Versions:
New Comment:

-Assigned To:
+Assigned To: dufuz



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

[2011-03-24 01:09:26] dufuz

-Package: PEAR_PackageFileManager
+Package: PEAR_PackageFileManager2


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

[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

Previous

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 2 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 © 2022 Grokbase