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 229605

Summary: Angular expression marked as error
Product: web Reporter: Vladimir Riha <vriha>
Component: AngularJSAssignee: Petr Pisl <ppisl>
Status: VERIFIED FIXED    
Severity: normal CC: ppisl
Priority: P3    
Version: 7.4   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description Vladimir Riha 2013-05-11 15:24:00 UTC
I have following in HTML code:

<h3>Members <small>({{(tribe.members| filter:lengthFilter).length}})</small></h3>

And it is marked as error with message

"Expected ) but found :"


Product Version: NetBeans IDE Dev (Build web-main-10489-on-20130510)
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-41-generic-pae running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2013-05-11 15:26:57 UTC
P4 for now
Comment 2 Vladimir Riha 2013-05-13 08:35:32 UTC
Since there is a separate component, let's make it P3 again
Comment 3 Petr Pisl 2013-05-29 11:39:12 UTC
It's my area to generate the virtual source correctly -> assign to me.
Comment 4 Petr Pisl 2013-05-29 11:52:40 UTC
We need to find out, whether the project use angular or not.
Comment 5 Petr Pisl 2013-05-29 12:17:29 UTC
The problem with the error is fixed with the change: http://hg.netbeans.org/web-main/rev/180641751c9b

Now the embedding is done only on lexical level. The semantic level(parser) is switch off by default and only embedding plugins can handle it.
Comment 6 Quality Engineering 2013-05-30 01:35:45 UTC
Integrated into 'main-golden', will be available in build *201305292301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/180641751c9b
User: Petr Pisl <ppisl@netbeans.org>
Log: #229605, #229887, #230223
Comment 7 Vladimir Riha 2013-05-30 08:05:06 UTC
Thanks, verified

Product Version: NetBeans IDE Dev (Build 201305292301)
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-44-generic-pae running on i386; UTF-8; en_US (nb