commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (VALIDATOR-277) Validating disabled field
Date Tue, 06 Jan 2015 23:59:34 GMT

     [ https://issues.apache.org/jira/browse/VALIDATOR-277?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sebb resolved VALIDATOR-277.
----------------------------
    Resolution: Won't Fix

Javascript routines are no longer maintained and have been deprecated

> Validating disabled field
> -------------------------
>
>                 Key: VALIDATOR-277
>                 URL: https://issues.apache.org/jira/browse/VALIDATOR-277
>             Project: Commons Validator
>          Issue Type: Bug
>          Components: JavaScript
>    Affects Versions: 1.3.1 Release
>         Environment: IE 7
>            Reporter: Kunal Chowdhary
>
> It seems, inside jcv_isFieldPresent() method we are doing a wrong check. 
> When the field is checked as "disabled" at that time we are marking field present as
"false". Now, if you see to the validateRequired method, when jcv_isFieldPresent() is called
at that time, for disabled field, it negates the condition and mark the disabled field as
required, which is wrong. 
> Ideally, there shouldn't be any validation for the disabled field.
> I guess, we need a fix.
> Please let me know for any confusion.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message