You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2001/12/21 18:25:08 UTC
DO NOT REPLY [Bug 5558] New: -
AbstractValidatorAction: type="long" nullable="yes" succeeds for non-numeric data
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5558>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=5558
AbstractValidatorAction: type="long" nullable="yes" succeeds for non-numeric data
Summary: AbstractValidatorAction: type="long" nullable="yes"
succeeds for non-numeric data
Product: Cocoon 2
Version: 2.0
Platform: All
OS/Version: Other
Status: NEW
Severity: Major
Priority: Other
Component: general components
AssignedTo: cocoon-dev@xml.apache.org
ReportedBy: joao_g_fonseca@yahoo.com
When a parameter is defined like:
<parameter name="xpto" type="long" nullable="yes"/>
And the user specifies a non-numeric value (for instance, "abc"), the
validation succeeds.
This is because getLongValue(name, conf, param, is_string); returns null for
text values, and the parameter is specified as "nullable".
---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org