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

Summary: missleading error message
Product: javascript Reporter: muellermi <muellermi>
Component: EditorAssignee: Petr Hejl <phejl>
Status: RESOLVED FIXED    
Severity: normal CC: mfukala
Priority: P3    
Version: 7.3   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: IDE log

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