Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319675 - EL validation error for non-string values
Summary: EL validation error for non-string values
Status: CLOSED DUPLICATE of bug 317062
Alias: None
Product: WTP Source Editing
Classification: WebTools
Component: jst.jsp (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: jst.jsp CLA
QA Contact: Nitin Dahyabhai CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-13 05:32 EDT by Thomas Schöfbeck CLA
Modified: 2010-07-13 09:41 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schöfbeck CLA 2010-07-13 05:32:41 EDT
Build Identifier: 20100617-1415

3.2. suddenly shows errors like:
"Type mismatch: cannot convert from boolean to String" for code like
<c:if test="${(pageContext.response.locale != 'en')}">&nbsp;</c:if> or
<c:if test="${('en' eq 'en')}">&nbsp;</c:if>.

The confusing thing: the line-number shown in the error-message doesn't correspond to line with the code (e.g. the code line is 58, and the line stated is 73), and in the editor you can't see the error-marker.



Reproducible: Always

Steps to Reproduce:
1. Enter the above stated JSTL - code 
2. Start the validation (any way)
3. "Enjoy" the error
Comment 1 Nick Sandonato CLA 2010-07-13 09:41:52 EDT
Thank you for your report. This should be fixed in 3.2.1 through bug 317062.

*** This bug has been marked as a duplicate of bug 317062 ***