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

Bug #13502 <maintainers> tag no longer works
Submitted: 2008-03-26 08:32 UTC
From: hholzgra Assigned: hholzgra
Status: Closed Package: CodeGen_PECL (version 1.1.2)
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2008-03-26 08:32 UTC] hholzgra (Hartmut Holzgraefe)
Description: ------------ Using a <maintainers> group tag in a specification file leads to Fatal error: Call to a member function setUser() on a non-object in /usr/local/lib/php/CodeGen/ExtensionParser.php on line 259 Problem is that <maintainers> should now be an alias for <group> but doesn't seem to be registered as such Test script: --------------- <?xml version="1.0" ?> <!DOCTYPE extension SYSTEM "../extension.dtd"> <extension name="maintainers" version="1.1.2"> <maintainers> <maintainer> <user>hholzgra</user> <name>Hartmut Holzgraefe</name> <email>hartmut@php.net</email> <role>lead</role> </maintainer> </maintainers> </extension> Expected result: ---------------- pecl-gen processing the file without errors Actual result: -------------- Fatal error: Call to a member function setUser() on a non-o

Comments

 [2008-03-26 08:33 UTC] hholzgra (Hartmut Holzgraefe)
Workaround: do not use <maintainers> grouping tag (it is optional) or replace it with <group> tags
 [2008-03-27 21:11 UTC] hholzgra (Hartmut Holzgraefe)
This bug has been fixed in CVS. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better.
 [2008-03-28 09:44 UTC] hholzgra (Hartmut Holzgraefe)
Actually fixed in upstream package CodeGen now