This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 244663 - Accept "...'quotedliteral' &&..." in EL expressions in JSF files
Summary: Accept "...'quotedliteral' &&..." in EL expressions in JSF files
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSF Editor (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Martin Fousek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-05-22 18:11 UTC by nimarukan
Modified: 2014-07-11 02:22 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ampAmpAfterApos.jsp sample showing problem (599 bytes, text/plain)
2014-05-22 18:11 UTC, nimarukan
Details
ampAmpAfterAposMarkedError.png Image from Netbeans 8 (6.88 KB, image/png)
2014-05-22 18:24 UTC, nimarukan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nimarukan 2014-05-22 18:11:19 UTC
Created attachment 147391 [details]
ampAmpAfterApos.jsp sample showing problem

"&&" is not always accepted as "&&", in particular immediately after a 'quotedliteral' in an EL expression in a JSF file.

To reproduce, open ampAmpAfterApos.jsp in NetBeans8.

Actual: EL syntax error on 
x=='A' && y==null

Expect: no syntax error on
x=='A' && y==null

(Thank you for improvements that addressed bug 225921, but this case is not covered.)
Comment 1 nimarukan 2014-05-22 18:24:43 UTC
Created attachment 147392 [details]
ampAmpAfterAposMarkedError.png Image from Netbeans 8
Comment 2 Martin Fousek 2014-05-23 05:25:47 UTC
Thanks a lot for reporting. I'm going to take a look to fix that before the next NB patch.
Comment 3 Martin Fousek 2014-07-10 11:18:50 UTC
There was an issue related to strings within EL expressions.

Fixed in web-main #b289877f33ba.
Comment 4 Quality Engineering 2014-07-11 02:22:04 UTC
Integrated into 'main-silver', will be available in build *201407110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b289877f33ba
User: Martin Fousek <marfous@netbeans.org>
Log: #244663 - Accept "...'quotedliteral' &amp;&amp;..." in EL expressions in JSF files