From: [EMAIL PROTECTED] Operating system: PHP version: 5CVS-2003-03-20 (dev) PHP Bug Type: FDF related Bug description: User Contributed Notes fdf_get_value
user contributed not on fdf_get_value() by mclinden at informed dot net The default behavior for the FDF Toolkit is to return an FDFErcNoValue for the FDFGetValue when the field exists but has no value. Whether or not this is truly an error is debateable. It seems to become an issue in documents created by Acrobat 5 when optional fields are included in a form with required fields since the default behavior seems to be to populate the HTTP_FDF_DATA with the results of the FDFNextFieldName enumerator, which would include the fields which have no value. This would not be a problem except that the PHP function fdf_get_value() does not specifically test for the FDFErcNoValue condition but, instead, tests for the more general FDFErcOK. If this value is not the result of the error code, the system issues warnings (the display of which could be turned off), but the broader question is, should this be a warning condition at all? Put another way, should a return of FDFErcNoValue for FDFGetValue be considered an event worth generating a warning? -- Edit bug report at http://bugs.php.net/?id=22803&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=22803&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=22803&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=22803&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=22803&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=22803&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=22803&r=support Expected behavior: http://bugs.php.net/fix.php?id=22803&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=22803&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=22803&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=22803&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22803&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=22803&r=dst IIS Stability: http://bugs.php.net/fix.php?id=22803&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=22803&r=gnused
