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.
Summary: | Changing Site Root does not refresh Remote Files | ||
---|---|---|---|
Product: | web | Reporter: | Vladimir Riha <vriha> |
Component: | HTML Editor | Assignee: | Milutin Kristofic <mkristofic> |
Status: | REOPENED --- | ||
Severity: | normal | CC: | jbecicka, tmysik |
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: |
Description
Vladimir Riha
2013-08-30 09:20:02 UTC
Close/reopen project should fix it, right? Restarting IDE is not necessary I guess. Nope, closing project does not help in my case Cannot reproduce. Adding more asserts. Changeset: c4024398847d Author: Jan Becicka <jbecicka@netbeans.org> Date: 2013-08-30 20:57 Message: I accidently closed this bug. Sorry Taking over. This applies also for PHP project. The problem is in html.editor, in HtmlIndex class. HtmlIndex does not listen on project's classpath (project sources) changes, see the TODO in the Javadoc of the class. BTW perhaps better than removing the HtmlIndex from the cache, the index could stay the same and just its querySupport field could be refreshed. In any case, the index must fire change event if it changes (as it is case when classpath changes). Once the HtmlIndex is fixed, feel free to reassign back to web/HTML Project component. Thanks. |