Re: Another Package Manager Bug?
Reply #5 –
I finally concluded that this is a bug as I compare the code with 1.0.9. The default code in 1.1 Beta 3 is:
(!($package->isDir()) && file_exists($package->getPathname() . '/package-info.xml')
Where, based on 1.0.9, it is supposed to be:
(!($package->isDir() && file_exists($package->getPathname() . '/package-info.xml'))
It is the containing bracket, I think, which is incorrectly placed. I did the above changes and the error that is shown after addon's upload is now properly gone, instead of only being suppressed and instead of disabling the open_basedir restriction.
I hope this can be confirmed, as I myself am not so sure whether this the right fix.