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

Bug #3163 returned values from _getMyValues() still contain unfiltered values
Submitted: 2005-01-11 14:43 UTC
From: ate2 at cornell dot edu Assigned: justinpatrin
Status: Closed Package: DB_DataObject_FormBuilder
PHP Version: Irrelevant OS: Irrelevant
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 : 18 + 9 = ?

 
 [2005-01-11 14:43 UTC] ate2 at cornell dot edu
Description: ------------ The $retArr in get my values which is supposed to be populated only with values that match the specified prefix and suffix should initially be an empty array. In the current release it is copied from the unfiltered values which means that it carries all the unfiltered values as well as the filtered ones. Reproduce code: --------------- function _getMyValues(&$arr) { //$arr = $this->_multiArrayToSingleArray($arr); // $retArr = $arr; // In current release $retArr = array(); // What it should be ... }

Comments

 [2005-01-11 15:12 UTC] ate2 at cornell dot edu
Title of bug was misleading... the problem with form value substitution.
 [2005-01-12 02:25 UTC] justinpatrin
This bug has been fixed in CVS. In case this was a documentation problem, the fix will show up at the end of next Sunday (CET) on pear.php.net. In case this was a pear.php.net website problem, the change will show up on the website in short time. Thank you for the report, and for helping us make PEAR better.