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 133223 - Javascript and scriptlet tags don't mix
Summary: Javascript and scriptlet tags don't mix
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: JSP (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks: 135023
  Show dependency tree
 
Reported: 2008-04-18 17:28 UTC by keeleyt83
Modified: 2008-09-11 14:00 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of javascript/scriptlet code (24.63 KB, text/plain)
2008-04-18 17:29 UTC, keeleyt83
Details
This file, when loaded into 6.1RC2, reproduces the problem. (626 bytes, text/plain)
2008-04-21 15:33 UTC, keeleyt83
Details

Note You need to log in before you can comment on or make changes to this bug.
Description keeleyt83 2008-04-18 17:28:00 UTC
I'm maintaining an older project and have got a <script> tag in a JSP that contains embedded scriptlet lines. Warnings
appear on the lines with scriptlets saying that the code has no side effect. See attached jpg for clarification.
Comment 1 keeleyt83 2008-04-18 17:29:09 UTC
Created attachment 60428 [details]
screenshot of javascript/scriptlet code
Comment 2 Tomas Mysik 2008-04-18 19:17:07 UTC
Incorrect subcomponent, please evaluate, thanks.
Comment 3 Marek Fukala 2008-04-21 09:01:36 UTC
please attach the file or snippet so I am able to reproduce the issue
Comment 4 keeleyt83 2008-04-21 15:33:00 UTC
Created attachment 60499 [details]
This file, when loaded into 6.1RC2, reproduces the problem.
Comment 5 keeleyt83 2008-04-21 15:35:53 UTC
FYI, I know that the JSP is written poorly but my job is to maintain JSPs like that. I wouldn't write anything like that :)
Comment 6 Marek Fukala 2008-04-21 16:06:28 UTC
reproducible, thanks. It looks like we are showing the warning for the virtually generated identifier _UNKNOWN_.
Comment 7 keeleyt83 2008-04-21 16:16:14 UTC
Ok, thank you for your help. I was wondering if you had taken a look at issue #133227? I submitted it at the same time
as this one. I can supply you with any help you need.
Comment 8 Torbjorn Norbye 2008-06-02 20:09:39 UTC
This is fixed by changeset 7ce055fa4e15, same as for (probably duplicate) issue 135209.
Comment 9 keeleyt83 2008-07-02 20:24:09 UTC
mfukala, I've got a question: when will this make it to a release of NetBeans? The next patch? 6.5? Thanks.
Comment 10 Jindrich Sedek 2008-09-11 14:00:06 UTC
It will not be in any patch for 6.1, but it will be in 6.5 for sure

verified.
NetBeans IDE Dev (Build 20080911010625)