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 225442 - Displays Error in javascript code in twig template
Summary: Displays Error in javascript code in twig template
Status: VERIFIED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Editor (show other bugs)
Version: 7.3.1
Hardware: All All
: P3 normal (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 224568 224569 225297 225578 225669 227185 227312 227589 227860 (view as bug list)
Depends on:
Blocks:
 
Reported: 2013-01-29 04:23 UTC by pahhan
Modified: 2013-03-26 11:17 UTC (History)
14 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot with error and info about twig plugin (538.26 KB, image/jpeg)
2013-01-29 04:23 UTC, pahhan
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pahhan 2013-01-29 04:23:41 UTC
Created attachment 130758 [details]
Screenshot with error and info about twig plugin

Error are shown when there are combination of js code and twig. It's more clearly on screenshot.
Comment 1 Vladimir Riha 2013-01-29 08:12:20 UTC
probably belongs to Twig? Reassigning
Comment 2 Ondrej Brejla 2013-01-29 08:26:59 UTC
Some twig parts are NOT underlined. Not sure what to do. Probably Martin will know. Thanks for evaluation.
Comment 3 pahhan 2013-01-29 08:35:18 UTC
I forgot to specify, that I used NetBeans 7.1.2 with twig plugin before, a and didn't see such errors.
Comment 4 Petr Hejl 2013-02-04 14:12:06 UTC
*** Bug 225669 has been marked as a duplicate of this bug. ***
Comment 5 Petr Hejl 2013-02-04 14:13:14 UTC
*** Bug 225578 has been marked as a duplicate of this bug. ***
Comment 6 Petr Hejl 2013-02-11 13:44:12 UTC
Should be fixed in web-main 9a4b8ce63710.
Comment 7 Quality Engineering 2013-02-12 01:41:05 UTC
Integrated into 'main-golden', will be available in build *201302112300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/9a4b8ce63710
User: Petr Hejl <phejl@netbeans.org>
Log: #225442 - Displays Error in javascript code in twig template
Comment 8 Petr Hejl 2013-02-12 10:16:34 UTC
*** Bug 225297 has been marked as a duplicate of this bug. ***
Comment 9 Petr Hejl 2013-02-12 10:24:50 UTC
*** Bug 224569 has been marked as a duplicate of this bug. ***
Comment 10 Petr Hejl 2013-02-13 12:26:21 UTC
*** Bug 224568 has been marked as a duplicate of this bug. ***
Comment 11 ecerichter 2013-02-18 13:42:23 UTC
*** Bug 226207 has been marked as a duplicate of this bug. ***
Comment 12 Vladimir Riha 2013-02-22 14:11:34 UTC
*** Bug 226207 has been marked as a duplicate of this bug. ***
Comment 13 Vladimir Riha 2013-02-22 14:13:02 UTC
I'm sorry but issues 225669, 225578 and 226207 are still reproducible, what helps in these cases is to close the "incorrect" part of code in (double) quotes but I think this will be a different code then. 

In all 3 cases, file has error badge in Projects window as well as in editor's tab


Product Version: NetBeans IDE Dev (Build web-main-9957-on-20130222)
Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)
Comment 14 Petr Hejl 2013-02-22 19:03:28 UTC
There was another issue in twig embeding. I'm not an expert but should be fixed now. Ondro can you review it?

Fixed in web-main e528d1a64d4d.
Comment 15 Quality Engineering 2013-02-23 04:09:57 UTC
Integrated into 'main-golden', will be available in build *201302222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/e528d1a64d4d
User: Petr Hejl <phejl@netbeans.org>
Log: #225442 - Displays Error in javascript code in twig template
Comment 16 Vladimir Riha 2013-02-25 09:55:43 UTC
Issues 225669 and 225578 are OK now, issue 226207 is separated now => verified


Product Version: NetBeans IDE Dev (Build web-main-9967-on-20130225)
Java: 1.7.0_15; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_15-b03
System: Linux version 3.2.0-35-generic-pae running on i386; UTF-8; en_US (nb)
Comment 17 Martin Fousek 2013-02-28 06:27:05 UTC
*** Bug 226485 has been marked as a duplicate of this bug. ***
Comment 18 Petr Hejl 2013-03-06 13:26:50 UTC
Transplanted to release73.

af2aacbd952a
a5ac366a28af
0282f5181f4a
Comment 19 Petr Hejl 2013-03-08 11:55:24 UTC
*** Bug 227185 has been marked as a duplicate of this bug. ***
Comment 20 Quality Engineering 2013-03-11 01:13:14 UTC
Integrated into 'releases', will be available in build *201303102200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/af2aacbd952a
User: Petr Hejl <phejl@netbeans.org>
Log: #225442 - Displays Error in javascript code in twig template
Comment 21 Vladimir Riha 2013-03-15 12:56:57 UTC
verified in patch1

Product Version: NetBeans IDE 7.3 (Build 201303141828)
Java: 1.7.0_17; Java HotSpot(TM) Client VM 23.7-b01
Runtime: Java(TM) SE Runtime Environment 1.7.0_17-b02
System: Linux version 3.2.0-38-generic-pae running on i386; UTF-8; en_US (nb)
Comment 22 Martin Fousek 2013-03-18 07:25:11 UTC
*** Bug 227589 has been marked as a duplicate of this bug. ***
Comment 23 Vladimir Riha 2013-03-24 18:19:22 UTC
*** Bug 227860 has been marked as a duplicate of this bug. ***
Comment 24 Martin Fousek 2013-03-26 11:17:10 UTC
*** Bug 227312 has been marked as a duplicate of this bug. ***