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

Bug #21194 package.xml of 0.5.8 does not replace @data-dir@ in Server.php
Submitted: 2017-03-10 09:55 UTC
From: avb Assigned:
Status: Open Package: HTML_AJAX (version 0.5.8)
PHP Version: Irrelevant OS: Irrelevant
Roadmaps: (Not assigned)    
Subscription  


 [2017-03-10 09:55 UTC] avb (Alexey Borzov)
Description: ------------ package.xml for 0.5.7: <file baseinstalldir="HTML" md5sum="93c59d4681e6b8218c93d48da0f1a134" name="AJAX/Server.php" role="php"> <tasks:replace from="@package_version@" to="version" type="package-info" /> <tasks:replace from="@data-dir@" to="data_dir" type="pear-config" /> </file> package.xml for 0.5.8: <file baseinstalldir="/" md5sum="93c59d4681e6b8218c93d48da0f1a134" name="HTML/AJAX/Server.php" role="php"> <tasks:replace from="@package_version@" to="version" type="package-info" /> </file> This prevents HTML_AJAX_Server::clientJsLocation() from working correctly from PEAR installation and consequently breaks handleRequest() Test script: --------------- Try running examples from PEAR installation Expected result: ---------------- Working examples Actual result: -------------- Lots of alert()'s

Comments