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 248175 - Adding plugin does not add it to Important files
Summary: Adding plugin does not add it to Important files
Status: VERIFIED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Properties (show other bugs)
Version: 8.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Ondrej Vrabec
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-24 13:34 UTC by Vladimir Riha
Modified: 2015-03-23 09:01 UTC (History)
0 users

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 Vladimir Riha 2014-10-24 13:34:37 UTC
Please try following:
 - have Cordova project with 1 plugin
 - go to project properties|Cordova|Plugins
 - add some plugin
 - press OK
 - expand "Cordova Plugins" in Important files

=> just added plugin is not there, IDE restart or opening the "Cordova Plugins" file would put it there. The same goes for removing it using Project Properties.


Thank you



Product Version: NetBeans IDE Dev (Build 201410190001)
Updates: Updates available
Java: 1.8.0_20; Java HotSpot(TM) Client VM 25.20-b23
Runtime: Java(TM) SE Runtime Environment 1.8.0_20-b26
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)
Comment 1 Roman Svitanic 2015-03-18 14:06:41 UTC
Probably an issue in Nodes => reassigning for evaluation. Thanks!
Comment 2 Ondrej Vrabec 2015-03-18 14:41:42 UTC
(In reply to Roman Svitanic from comment #1)
> Probably an issue in Nodes => reassigning for evaluation. Thanks!
Probably not. I suggest you check the implementation of important files node first.
Comment 3 Roman Svitanic 2015-03-18 14:53:11 UTC
Sorry, I reassigned it wrongly. Now reassigning correctly to Utilities/Properties.

Issue can be reproduced also in "Files" view, expand project.properties of HTML5 project without Source Folder. Then in Project's customizer add Source Folder and notice that property list is not updated after OK has been clicked in the customizer. It is updated only after the file has been opened in the editor.
Comment 4 Ondrej Vrabec 2015-03-20 13:22:58 UTC
How about this? Please test it ASAP if it works correctly.

fix: http://hg.netbeans.org/core-main/rev/59fd6178aa6a
Comment 5 Quality Engineering 2015-03-22 06:18:06 UTC
Integrated into 'main-silver', will be available in build *201503220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/59fd6178aa6a
User: Ondrej Vrabec <ovrabec@netbeans.org>
Log: #248175 - Adding plugin does not add it to Important files
Comment 6 Vladimir Riha 2015-03-23 09:01:06 UTC
Seems fine to me, thank you

Product Version: NetBeans IDE Dev (Build 201503230001)
Java: 1.8.0_40; Java HotSpot(TM) Client VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Linux version 3.13.0-35-generic running on i386; UTF-8; en_US (nb)