[ 
https://issues.apache.org/jira/browse/TAP5-2610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16805213#comment-16805213
 ] 

ASF subversion and git services commented on TAP5-2610:
-------------------------------------------------------

Commit 8a2956ba75536942d4b8266852e7425eedfbb8e1 in tapestry-5's branch 
refs/heads/master from Balázs Palcsó
[ https://gitbox.apache.org/repos/asf?p=tapestry-5.git;h=8a2956b ]

TAP5-2610 - required validation should not be added to checkbox when primitive 
boolean is behind it, unless checked or required validation is explicitly added


> required validation should not be added to checkbox when primitive boolean is 
> behind it, unless checked or required validation is explicitly added
> --------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: TAP5-2610
>                 URL: https://issues.apache.org/jira/browse/TAP5-2610
>             Project: Tapestry 5
>          Issue Type: Bug
>          Components: tapestry-core
>            Reporter: Balázs Palcsó
>            Assignee: Balázs Palcsó
>            Priority: Major
>
> This is a regression bug introduced with TAP5-2075 (no public release yet)
> The issue only happens when HTML5 validation is enabled 
> (SymbolConstants.ENABLE_HTML5_SUPPORT is true).
> Stacktrace for adding validator
> {code}
> ValidationConstraintGeneratorImpl.buildConstraints(Class, AnnotationProvider) 
> line: 39        
> $ValidationConstraintGenerator_20c8dd1b4201f.buildConstraints(Class, 
> AnnotationProvider) line: not available  
> FieldValidatorDefaultSourceImpl.createDefaultValidator(Field, String, 
> Messages, Locale, Class, AnnotationProvider) line: 52   
> TapestryModule$40.createDefaultValidator(Field, String, Messages, Locale, 
> Class, AnnotationProvider) line: 2496       
> $FieldValidatorDefaultSource_20c8dd1b4201b.createDefaultValidator(Field, 
> String, Messages, Locale, Class, AnnotationProvider) line: not available     
> BeanFieldValidatorDefaultSource.createDefaultValidator(Field, String, 
> Messages, Locale, Class, AnnotationProvider) line: 66   
> BeanFieldValidatorDefaultSource.createDefaultValidator(ComponentResources, 
> String) line: 88   
> $FieldValidatorDefaultSource_20c8dd1b41ebd.createDefaultValidator(ComponentResources,
>  String) line: not available     
> ComponentDefaultProviderImpl.defaultValidator(String, ComponentResources) 
> line: 148   
> ComponentDefaultProviderImpl$3.get() line: 162        
> ParameterWorker$3$1.readFromBinding() line: 263       
> ParameterWorker$3$1.get(Object, InstanceContext) line: 381    
> Checkbox.conduit_get_validate() line: not available   
> Checkbox.begin(MarkupWriter) line: 65 
> Checkbox.beginRender(MarkupWriter, Event) line: not available 
> ComponentPageElementImpl$BeginRenderPhase.invokeComponent(Component, 
> MarkupWriter, Event) line: 202   
> ComponentPageElementImpl$BeginRenderPhase(ComponentPageElementImpl$AbstractPhase).invoke(MarkupWriter,
>  Event) line: 143       
> ComponentPageElementImpl$BeginRenderPhase.render(MarkupWriter, RenderQueue) 
> line: 209 
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to