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 229125 - NetBeans claims invalid javascript, perhaphs it is valid at runtime
Summary: NetBeans claims invalid javascript, perhaphs it is valid at runtime
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.4
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on: 233066
Blocks:
  Show dependency tree
 
Reported: 2013-04-28 17:28 UTC by ecerichter
Modified: 2013-08-11 17:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot of the error (28.25 KB, image/png)
2013-04-28 17:30 UTC, ecerichter
Details
Dialog for JavaHL (102.38 KB, image/png)
2013-08-11 17:35 UTC, ecerichter
Details
Dialog for SvnKit (98.59 KB, image/png)
2013-08-11 17:36 UTC, ecerichter
Details
What is described in Help that is not consistent (IMHO) (28.98 KB, image/png)
2013-08-11 17:36 UTC, ecerichter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ecerichter 2013-04-28 17:28:58 UTC
Product Version = NetBeans IDE Dev (Build 201304272301)
Operating System = Windows 7 version 6.1 running on amd64
Java; VM; Vendor = 1.7.0_17
Runtime = Java HotSpot(TM) 64-Bit Server VM 23.7-b01

I use to create dynamic method names to avoid conflict eveywhere in my web apps.
Look at this TAG file piece of code:

<script type="text/javascript">
  //<![cdata[
  function ${fint:jQueryEsc(name)}_select(id) {
    jQuery("#${fint:jQueryEsc(name)} option[value='"+id+"']").attr({ selected : 'selected' });
  }
  //]]>
</script>

It is not expected to be rejects (at least, during runtime it works great).
Comment 1 ecerichter 2013-04-28 17:30:43 UTC
Created attachment 133891 [details]
Screenshot of the error
Comment 2 Vladimir Riha 2013-04-29 06:04:53 UTC
Reproducible. I think this is JavaScript problem, reassigning


Product Version: NetBeans IDE Dev (Build 201304282301)
Java: 1.7.0_21; Java HotSpot(TM) Client VM 23.21-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_21-b11
System: Linux version 3.2.0-40-generic-pae running on i386; UTF-8; en_US (nb)
Comment 3 Petr Hejl 2013-07-25 10:59:00 UTC
Seems to be fixed.
Comment 4 ecerichter 2013-08-10 18:57:20 UTC
Verified. Ok in DEV.201308090746.
Comment 5 ecerichter 2013-08-11 17:35:54 UTC
Created attachment 138552 [details]
Dialog for JavaHL
Comment 6 ecerichter 2013-08-11 17:36:15 UTC
Created attachment 138553 [details]
Dialog for SvnKit
Comment 7 ecerichter 2013-08-11 17:36:45 UTC
Created attachment 138554 [details]
What is described in Help that is not consistent (IMHO)
Comment 8 ecerichter 2013-08-11 17:48:42 UTC
Sorry - all three attachments are related to other issue.