Anonymous | Login | Signup for a new account | 12-17-2024 08:29 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0001931 | [Resin] | major | always | 08-06-07 08:26 | 08-13-07 09:53 | ||||
Reporter | dheggie | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 3.1.2 | ||||||
Summary | 0001931: JspExpressionFactoryImpl evaluates the EL string "true" as false. | ||||||||
Description |
I have a JSF page that has many input fields that have the attribute required="true" e.g. <h:inputText" id="username" value="#{loginAction.username}" required="true"> The string "true" is getting evaluated to the Boolean FALSE before it is set onto the JSF component. I have tracked down the bug to the coerceToType(Object obj, Class<?> targetType) method in the com.caucho.jsp.el.JspExpressionFactoryImpl class. Line 67 is: return Expr.toBoolean(obj, null) ? Boolean.FALSE : Boolean.TRUE; when it should be the opposite e.g. return Expr.toBoolean(obj, null) ? Boolean.TRUE : Boolean.FALSE; |
||||||||
Additional Information | I am running Sun's JSF 1.2_04-b16 RI and Jboss Seam 1.2.1 GA. | ||||||||
Attached Files | |||||||||
|
Notes | |
(0002176) dheggie 08-06-07 08:32 |
I am also using Facelets 1.1.13 |
(0002190) ferg 08-13-07 09:53 |
jsp/32ad |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
31 total queries executed. 27 unique queries executed. |