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

Bug #8409 Unreadable results with Groups
Submitted: 2006-08-10 12:55 UTC
From: nicolas dot suprin at exilab dot com Assigned:
Status: Bogus Package: HTML_QuickForm (version 3.2.6)
PHP Version: 5.0.5 OS: Red Hat
Roadmaps: (Not assigned)    
Subscription  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 38 - 24 = ?

 
 [2006-08-10 12:55 UTC] nicolas dot suprin at exilab dot com (Nicolas SUPRIN)
Description: ------------ I have un bug with Groups. The returned values, aren't the expected. It looks a buffer over flow, whith spécials chars ... More info on http://blog.cactuscrew.com/50-pear-un-bug-dans-html_quickform Test script: --------------- <?php require_once 'HTML/QuickForm.php'; $form = new HTML_QuickForm('example'); $A_group = array(); $A_group[] = $form->createElement('text', 'test'); $A_group[] = $form->createElement('text', 'foo'); $form->addGroup($A_group, 'tagada'); $form->addElement('submit', 'go', 'Go'); $form->display(); if ($form->validate()) { echo '<pre>'; print_r($form->getSubmitValues()); echo '</pre>'; } ?> Expected result: ---------------- I want to see the real résults ! See http://blog.cactuscrew.com/50-pear-un-bug-dans-html_quickform Actual result: -------------- See http://blog.cactuscrew.com/50-pear-un-bug-dans-html_quickform

Comments

 [2006-08-10 13:18 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-08-10 13:24 UTC] nicolas dot suprin at exilab dot com
I'll ask to my net admin to do the upgrade. I'll tell you if it works after... (I hope !!) But I think the use of the eval function isn't a good idea... Are you agree with me ?
 [2006-08-10 13:35 UTC] nicolas dot suprin at exilab dot com
My sysAdmin isn't very agree to upgrade to 5.1.4 because our productions servers are under 5.0.5 too. It's our production environnement. Few month ago, he tried to upgrade, but he met many problems with our spécials configurations... How could we do ?
 [2006-08-10 13:54 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2006-08-10 13:59 UTC] nicolas dot suprin at exilab dot com
OK... We'll try to upgrade our PHP dev/prod version... But I'm not sure that eval is a good way to continue in future versions.