Bugs in OOH_Forms
| From: | Thomas Schulz | Date: | Fri, 26 Jul 2002 22:08:23 +0000 |
| Subject: | Bugs in OOH_Forms | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-8038@lists.php.net to get a copy of this message | ||
Hello,
there are some bugs in OOH_Forms producing "Notice: Undefined property:..."
and "Fatal errors: Call to undefined function:..." when I try to use the
file and combo elements.
I made some changes. After that the file element I need works fine.
The combo element now don't produce Fatal Errors. But a comment in the code
makes me unsure:
* WARNING: it's not working with the new container API, do not use it.
Can anyone check this? Thanks.
ThS.
Index: form_element_file.php
===================================================================
RCS file: /repository/pear/HTML_OOH_Form/elements/form_element_file.php,v
retrieving revision 1.6
diff -r1.6 form_element_file.php
136c136
< return $this->validateLength . $this->validateRegEx();
---
> return $this->container->validateLength()
> . $this->container->validateRegEx();
===================================================================
Index: form_element_combo.php
===================================================================
RCS file: /repository/pear/HTML_OOH_Form/elements/form_element_combo.php,v
retrieving revision 1.6
diff -r1.6 form_element_combo.php
135c135
< $message = $this->validateLength($userentry)
< . $this->validateRegEx($userentry);
---
> $message = $this->container->validateLength($userentry)
> . $this->container->validateRegEx($userentry);
394c394
< return $this->validateTextInputEntry() . $this->validateIntro();
---
> return $this->validateTextInputEntry() .
> $this->container->validateIntro();
===================================================================
--
Dipl. Ing. Thomas Schulz - http://4bconsult.de