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 229693 - Expected } but found eof" for nested controllers
Summary: Expected } but found eof" for nested controllers
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: PC Mac OS X
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-14 07:27 UTC by Marek Fukala
Modified: 2013-05-30 01:35 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marek Fukala 2013-05-14 07:27:43 UTC
part of an AngularJS app:

   <body>
        <div ng-controller="list">
            <ol>
                <li ng-repeat="item in items">{{item.celejmeno()}}</li>
            </ol>
            <div ng-controller="">
                
            </div>
        </div>
    </body>

the second ng-controller is red underlined with error "simple3.html:34:0 Expected } but found eof". I assume this comes from the virtual JS source.
Comment 1 Petr Pisl 2013-05-29 11:26:58 UTC
Fixed in web-main.
Comment 2 Petr Pisl 2013-05-29 11:32:40 UTC
The fixing change:
http://hg.netbeans.org/web-main/rev/004a78ad4202
Comment 3 Quality Engineering 2013-05-30 01:35:53 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/004a78ad4202
User: Petr Pisl <ppisl@netbeans.org>
Log: #229693 - Expected } but found eof" for nested controllers