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 251327 - Configuration files not fully refreshed until IDE restart
Summary: Configuration files not fully refreshed until IDE restart
Status: VERIFIED FIXED
Alias: None
Product: php
Classification: Unclassified
Component: Project (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Mysik
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-20 16:19 UTC by Vladimir Riha
Modified: 2015-04-03 13:22 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 2015-03-20 16:19:27 UTC
Please try to create a new Symfony2 project. Configuration files are under app/config.

#1 If I rename the config folder to "configx", then all config files below Configuration Files node are gone, but the empty "Configuration Files" is still present. If I restart IDE, it is gone.

Having the renamed config folder, restart IDE so the "Configuration Files" is not visible

#2 After the restart, rename "configx" back to "config" => "Configuration Files" is not displayed, again IDE restart helps.


Thank you


Product Version: NetBeans IDE Dev (Build 201503200001)
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)
Comment 1 Tomas Mysik 2015-03-23 06:37:38 UTC
Yes, this problem is here from the beginning - no issue so far since config filesw does not change usually :) But I will try to look at it, it needs some API change.

Thanks.
Comment 2 Tomas Mysik 2015-03-23 08:02:52 UTC
BTW I will also check each PHP framework whether it does not contain e.g. composer.json in Configuration Files (IMO Nette does it and it is not needed now).

Thanks.
Comment 3 Tomas Mysik 2015-03-27 10:26:05 UTC
Should be done now. Please, verify it on Windows as well. Thanks.

http://hg.netbeans.org/web-main/rev/943230b57775
http://hg.netbeans.org/web-main/rev/5fa273693565
Comment 4 Tomas Mysik 2015-03-27 10:26:48 UTC
Just forgot to add - all frameworks (Nette, Symfony[2], Zend[2]) should be OK now.

Thanks.
Comment 5 Quality Engineering 2015-03-28 08:20:28 UTC
Integrated into 'main-silver', will be available in build *201503280001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/943230b57775
User: Tomas Mysik <tmysik@netbeans.org>
Log: #251327 - Configuration files not fully refreshed until IDE restart

API part.
Comment 6 Vladimir Riha 2015-04-03 13:22:38 UTC
Verified, tested on Windows (Nette2) and Linux (Symfony2). Thank you


Product Version: NetBeans IDE Dev (Build 201504030001)
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)