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 227726 - Visual CSS editor does not correctly find files other than index.html
Summary: Visual CSS editor does not correctly find files other than index.html
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.3.1
Hardware: PC Mac OS X
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-20 14:25 UTC by Petr Jiricka
Modified: 2013-03-23 01:57 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Patch for this issue + additional defensive checks (3.07 KB, patch)
2013-03-20 14:34 UTC, Petr Jiricka
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Jiricka 2013-03-20 14:25:31 UTC
1. Create a Maven web project
2. Create file myfile.html under docroot
3. Change browser to Chrome with NetBeans integration
4. Run this file - it will be open in the browser
5. Turn on inspect mode in browser and select some element

=> The expectation is that myfile.html will be open in the editor, and the navigator will display this file (merged with the live DOM), but that's not the case (unless the file is already open and in the front).
Comment 1 Petr Jiricka 2013-03-20 14:34:37 UTC
Created attachment 132848 [details]
Patch for this issue + additional defensive checks
Comment 2 Martin Janicek 2013-03-21 13:00:18 UTC
The patch looks fine to me, I'll integrate it during the next few hours. I guess you have already tested it, right?
Comment 3 Martin Janicek 2013-03-21 14:06:23 UTC
Integrated in: web-main #2249a95cd0b7
Comment 4 Quality Engineering 2013-03-23 01:57:35 UTC
Integrated into 'main-golden', will be available in build *201303222300* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2249a95cd0b7
User: Martin Janicek <mjanicek@netbeans.org>
Log: #227726 - Visual CSS editor does not correctly find files other than index.html