You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Tom M. (JIRA)" <de...@myfaces.apache.org> on 2010/07/08 10:15:51 UTC
[jira] Created: (EXTVAL-105) AbstractValidationInterceptor: call to
processAfterValidation() even if object was not validated
AbstractValidationInterceptor: call to processAfterValidation() even if object was not validated
------------------------------------------------------------------------------------------------
Key: EXTVAL-105
URL: https://issues.apache.org/jira/browse/EXTVAL-105
Project: MyFaces Extensions Validator
Issue Type: Bug
Components: Core
Affects Versions: 2.0.3
Reporter: Tom M.
Priority: Minor
Is that correct: in case the uiComponent should not be processed and in consequence is not validated, the processing after validation is executed!?
org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor:
try
{
*if(processComponent(uiComponent))*
{
convertedObject = transformValueForValidation(convertedObject);
if(validateValue(convertedObject) &&
processBeforeValidation(facesContext, uiComponent, convertedObject))
{
processValidation(facesContext, uiComponent, convertedObject);
}
}
}
catch (ValidatorException e)
{
try
{
//ViolationSeverityInterpreter might decide that it isn't an exception
ExtValUtils.tryToThrowValidatorExceptionForComponent(uiComponent, e.getFacesMessage(), e);
}
catch (ValidatorException finalException)
{
throw new ConverterException(e.getFacesMessage(), e);
}
}
finally
{
*processAfterValidation(facesContext, uiComponent, convertedObject);*
resetRendererInterceptorProperties(uiComponent);
}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Commented: (EXTVAL-105) AbstractValidationInterceptor: call
to processAfterValidation() even if object was not validated
Posted by "Tom M. (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTVAL-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886519#action_12886519 ]
Tom M. commented on EXTVAL-105:
-------------------------------
SVN r961924
> AbstractValidationInterceptor: call to processAfterValidation() even if object was not validated
> ------------------------------------------------------------------------------------------------
>
> Key: EXTVAL-105
> URL: https://issues.apache.org/jira/browse/EXTVAL-105
> Project: MyFaces Extensions Validator
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.3, 2.0.3, 1.1.3
> Reporter: Tom M.
> Priority: Minor
> Fix For: 1.2.4-SNAPSHOT, 2.0.4-SNAPSHOT, 1.1.4-SNAPSHOT
>
>
> Is that correct: in case the uiComponent should not be processed and in consequence is not validated, the processing after validation is executed!?
> org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor:
> try
> {
> ### if(processComponent(uiComponent)) ###
> {
> convertedObject = transformValueForValidation(convertedObject);
> if(validateValue(convertedObject) &&
> processBeforeValidation(facesContext, uiComponent, convertedObject))
> {
> processValidation(facesContext, uiComponent, convertedObject);
> }
> }
> }
> catch (ValidatorException e)
> {
> try
> {
> //ViolationSeverityInterpreter might decide that it isn't an exception
> ExtValUtils.tryToThrowValidatorExceptionForComponent(uiComponent, e.getFacesMessage(), e);
> }
> catch (ValidatorException finalException)
> {
> throw new ConverterException(e.getFacesMessage(), e);
> }
> }
> finally
> {
> ### processAfterValidation(facesContext, uiComponent, convertedObject); ###
> resetRendererInterceptorProperties(uiComponent);
> }
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Issue Comment Edited: (EXTVAL-105)
AbstractValidationInterceptor: call to processAfterValidation() even if
object was not validated
Posted by "Tom M. (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTVAL-105?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12886519#action_12886519 ]
Tom M. edited comment on EXTVAL-105 at 7/8/10 6:09 PM:
-------------------------------------------------------
Fixed by Gerhard Petracek - SVN r961924
was (Author: tom_m):
SVN r961924
> AbstractValidationInterceptor: call to processAfterValidation() even if object was not validated
> ------------------------------------------------------------------------------------------------
>
> Key: EXTVAL-105
> URL: https://issues.apache.org/jira/browse/EXTVAL-105
> Project: MyFaces Extensions Validator
> Issue Type: Bug
> Components: Core
> Affects Versions: 1.2.3, 2.0.3, 1.1.3
> Reporter: Tom M.
> Priority: Minor
> Fix For: 1.2.4-SNAPSHOT, 2.0.4-SNAPSHOT, 1.1.4-SNAPSHOT
>
>
> Is that correct: in case the uiComponent should not be processed and in consequence is not validated, the processing after validation is executed!?
> org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor:
> try
> {
> ### if(processComponent(uiComponent)) ###
> {
> convertedObject = transformValueForValidation(convertedObject);
> if(validateValue(convertedObject) &&
> processBeforeValidation(facesContext, uiComponent, convertedObject))
> {
> processValidation(facesContext, uiComponent, convertedObject);
> }
> }
> }
> catch (ValidatorException e)
> {
> try
> {
> //ViolationSeverityInterpreter might decide that it isn't an exception
> ExtValUtils.tryToThrowValidatorExceptionForComponent(uiComponent, e.getFacesMessage(), e);
> }
> catch (ValidatorException finalException)
> {
> throw new ConverterException(e.getFacesMessage(), e);
> }
> }
> finally
> {
> ### processAfterValidation(facesContext, uiComponent, convertedObject); ###
> resetRendererInterceptorProperties(uiComponent);
> }
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (EXTVAL-105) AbstractValidationInterceptor: call
to processAfterValidation() even if object was not validated
Posted by "Gerhard Petracek (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/EXTVAL-105?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gerhard Petracek resolved EXTVAL-105.
-------------------------------------
Fix Version/s: 1.2.4-SNAPSHOT
2.0.4-SNAPSHOT
1.1.4-SNAPSHOT
Resolution: Fixed
> AbstractValidationInterceptor: call to processAfterValidation() even if object was not validated
> ------------------------------------------------------------------------------------------------
>
> Key: EXTVAL-105
> URL: https://issues.apache.org/jira/browse/EXTVAL-105
> Project: MyFaces Extensions Validator
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.0.3
> Reporter: Tom M.
> Priority: Minor
> Fix For: 1.2.4-SNAPSHOT, 2.0.4-SNAPSHOT, 1.1.4-SNAPSHOT
>
>
> Is that correct: in case the uiComponent should not be processed and in consequence is not validated, the processing after validation is executed!?
> org.apache.myfaces.extensions.validator.core.interceptor.AbstractValidationInterceptor:
> try
> {
> ### if(processComponent(uiComponent)) ###
> {
> convertedObject = transformValueForValidation(convertedObject);
> if(validateValue(convertedObject) &&
> processBeforeValidation(facesContext, uiComponent, convertedObject))
> {
> processValidation(facesContext, uiComponent, convertedObject);
> }
> }
> }
> catch (ValidatorException e)
> {
> try
> {
> //ViolationSeverityInterpreter might decide that it isn't an exception
> ExtValUtils.tryToThrowValidatorExceptionForComponent(uiComponent, e.getFacesMessage(), e);
> }
> catch (ValidatorException finalException)
> {
> throw new ConverterException(e.getFacesMessage(), e);
> }
> }
> finally
> {
> ### processAfterValidation(facesContext, uiComponent, convertedObject); ###
> resetRendererInterceptorProperties(uiComponent);
> }
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.