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 245361 - Code completion offers items from all controllers in partial
Summary: Code completion offers items from all controllers in partial
Status: VERIFIED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: AngularJS (show other bugs)
Version: 8.0
Hardware: PC Linux
: P3 normal (vote)
Assignee: Roman Svitanic
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-02 13:16 UTC by Vladimir Riha
Modified: 2014-11-23 17:36 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (31.49 KB, text/plain)
2014-07-02 13:16 UTC, Vladimir Riha
Details
sample project (5.15 KB, application/zip)
2014-07-02 13:17 UTC, Vladimir Riha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vladimir Riha 2014-07-02 13:16:16 UTC
Created attachment 147849 [details]
IDE log

Please check the attached project:
 - open partial2.html
 - at line 1, invoke cc for the ng-click attribute

=> items like test, hello(), dog etc. are offered but they are declared in different controller

This works fine in 8.0


Product Version: NetBeans IDE Dev (Build 201407020002)
Java: 1.8.0_05; Java HotSpot(TM) Client VM 25.5-b02
Runtime: Java(TM) SE Runtime Environment 1.8.0_05-b13
System: Linux version 3.13.0-29-generic running on i386; UTF-8; en_US (nb)
Comment 1 Vladimir Riha 2014-07-02 13:17:25 UTC
Created attachment 147850 [details]
sample project
Comment 2 Vladimir Riha 2014-07-02 13:21:03 UTC
for the record it seems to start in build 201407010002
Comment 3 skomisa 2014-08-11 01:46:47 UTC
I am also seeing this issue when running the Synergy test for AngularJS for the environment shown below.


Product Version: NetBeans IDE Dev (Build 201408100001)
Java: 1.8.0_20-ea; Java HotSpot(TM) 64-Bit Server VM 25.20-b22
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-ea-b23
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
User directory: C:\Users\JohnDoe\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\JohnDoe\AppData\Local\NetBeans\Cache\dev
Comment 4 Roman Svitanic 2014-10-07 08:19:20 UTC
fixed in web-main:
http://hg.netbeans.org/web-main/rev/49f4f274bab8
Comment 5 Quality Engineering 2014-10-08 03:02:27 UTC
Integrated into 'main-silver', will be available in build *201410080001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/49f4f274bab8
User: Roman Svitanic <rsvitanic@netbeans.org>
Log: #245361: Code completion offers items from all controllers in partial - fixed
Comment 6 Vladimir Riha 2014-11-23 17:36:14 UTC
Verified, thank you

Product Version: NetBeans IDE Dev (Build 201411230001)
Java: 1.7.0_72; Java HotSpot(TM) Client VM 24.72-b04
Runtime: Java(TM) SE Runtime Environment 1.7.0_72-b14
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)