Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.0.4

Bug #15534 Multiple phprelease not handled correctly
Submitted: 2009-01-07 12:31 UTC
From: baptiste Assigned: dufuz
Status: Assigned Package: PEAR_PackageFileManager2
PHP Version: 5.2.8 OS: Win
Roadmaps: (Not assigned)    
Subscription  


 [2009-01-07 12:31 UTC] baptiste (Baptiste Autin)
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.

Comments

 [2011-03-24 05:09 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Package: PEAR_PackageFileManager +Package: PEAR_PackageFileManager2
 [2011-03-28 07:55 UTC] dufuz (Helgi Þormar Þorbjörnsson)
-Assigned To: +Assigned To: dufuz