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 258283 - Cannot view html file in full remote project
Summary: Cannot view html file in full remote project
Status: NEW
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: PC Solaris
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 08:41 UTC by Alexander Simon
Modified: 2017-05-10 14:56 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 Alexander Simon 2016-03-09 08:41:58 UTC
Step to reproduce:
- open full remote project.
- select html file.
- in pop-up menu select view.
IDE cannot open file in browser with error:
Error: 500
Location: /resource/rfs%3A//tester%40perf-linux%3A22/export/home/tester/test%255F%2570%2572%256F%256A%2565%2563%2574%2573%252F%256A%2564%256B%2538%252F%2552%2545%2541%2544%254D%2545%252D%2562%2575%2569%256C%2564%2573%252E%2568%2574%256D%256C
No detailed message
Comment 1 Vladimir Kvashin 2016-07-25 18:54:39 UTC
The rout of the problem is not in CND, so we will need changes in platform or html part.

But what is most unclear for me is - how we want this to be fixed.

In theory, it would be fine if we open the file according to the settings in Tools > Options. (Which default to external browser that is set as default one in the system).

But we do not know whether there is an http server running on the host and, even worse, we don't know the path to the file in terms of http protocol:(nearly) nobody makes files acceptable through http via these file absolute paths.

So I guess wee need to either 
1) open it in internal browser (which is not able to cope with such files either so far) or
2) We create a temporary file, copy remote file content there, open that file in browser (according to Tools > Options settings)
3) The same as (3), but we open the file directly in remote file system cache directory

The 3-rd option might be unavailable in Studio since Studio can be set to hold remote file system caches in memory.

So I would prefer (2).

Thoughts? Objections?