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 230480 - Variable is not recognized in the expression
Summary: Variable is not recognized in the expression
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 7.4
Hardware: PC Linux
: P3 normal (vote)
Assignee: Petr Pisl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-29 20:00 UTC by Petr Pisl
Modified: 2013-05-31 01:20 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 Petr Pisl 2013-05-29 20:00:29 UTC
Copy this code:

<div class="span5 definitions" ng-show="definitions">
    <h4>Definitions</h4>
    <div ng-repeat="item in definitions">
        <a href="#" ng-click="setWord(item)"
           class="defname">{{item.word | capitalize}}</a> &mdash;
        <ol style="display:inline">
            <span ng-repeat="(id, def) in item.definitions | lastModified">
                <i ng-show="item.definitions">{{id + 1}}.</i> {{def.def}}
            </span>
        </ol>
    </div>
</div>

the item.word is not recognized correctly. The item is not marked as occurrence.
Comment 1 Petr Pisl 2013-05-29 20:12:03 UTC
Fixed in web-main
http://hg.netbeans.org/web-main/rev/a18020144711
Comment 2 Quality Engineering 2013-05-31 01:20:43 UTC
Integrated into 'main-golden', will be available in build *201305302301* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/a18020144711
User: Petr Pisl <ppisl@netbeans.org>
Log: #230480 - Variable is not recognized in the expression