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 218287 - missleading error message
Summary: missleading error message
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-13 12:48 UTC by muellermi
Modified: 2013-05-13 06:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (76.96 KB, text/plain)
2012-09-13 12:48 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description muellermi 2012-09-13 12:48:53 UTC
Product Version = NetBeans IDE Dev (Build 201209130001)
Operating System = Windows XP version 5.1 running on x86
Java; VM; Vendor = 1.7.0_05
Runtime = Java HotSpot(TM) Client VM 23.1-b03

Within a Facelets page, I should be able to place EL code at any place, e.g.

        #{editRequest.script}

would simply replaced by its content.

But starting with NB 7.3 (development) this will be reported as error:

        <script type="text/javascript">
            #{editRequest.script}
        </script>

|   RequestEdit.xhtml:2:12 Expected an operand but found error
|
|               @@@
|               ^
|   ----
|   (Alt-Enter shows hints)

It seems the editor is awaiting pure JavaScript. In this case, the script code will be provided dynamically. An EL must not be reported as error.
Comment 1 muellermi 2012-09-13 12:48:59 UTC
Created attachment 124302 [details]
IDE log
Comment 2 Petr Hejl 2012-09-14 19:20:04 UTC
Fixed in web-main 64694dbf2650. Marku, can you take a quick look at the fix? Thanks.
Comment 3 Quality Engineering 2012-09-16 02:07:03 UTC
Integrated into 'main-golden', will be available in build *201209160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/64694dbf2650
User: Petr Hejl <phejl@netbeans.org>
Log: #218287 - missleading error message
Comment 4 rajivpingale 2013-05-13 06:39:29 UTC
Can you please tell me how to integrate this change with IDE ?
Comment 5 Vladimir Riha 2013-05-13 06:48:08 UTC
Hi, this should be part of 7.3 by default