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 21273 - "Browser Executable" doesn't handle additional spaces between executable and parameters
Summary: "Browser Executable" doesn't handle additional spaces between executable and ...
Status: VERIFIED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: -FFJ-
Hardware: PC Solaris
: P3 blocker (vote)
Assignee: _ rkubacki
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-06 19:30 UTC by Alexei Mokeev
Modified: 2002-03-19 11:51 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 Alexei Mokeev 2002-03-06 19:30:23 UTC
Property "Browser Executable" for "External Browser(Unix)" and "External
Browser(Command Line" doesn't handle well speces between executable and
parameters.
Steps to reproduce:
1. Select Tools->Options->IDE Configuration->Server and External Tools
Settings->Web Browsers
2. Select "External Browser(Command Line" and click on "..." button near
"Browser Executable" property. Type "netscape " (end it within space) in
"Process" text field and leave {URL} in "Arguments" area.
3. In Tools->Options->IDE Configuration->System->System Setting set property
Browser to "External Browser(Command Line)".
4. Try to view any HTML or execute some servlet/jsp
"Cann't create process" warning window will be opened and nothing more. Netscape
isn't started

The same behavior for "External browser(Unix)"

Reproduced under Solaris 8 and FFJ-4.0-EA build 020301
Comment 1 _ rkubacki 2002-03-07 10:25:27 UTC
You try to run "netscape " executable and probably don't have it.
That's your fault. You can see in log what you are doing.
NbProcessDescriptor behaves as intended here.
Comment 2 Alexei Mokeev 2002-03-07 10:58:24 UTC
OK. But there is a behavior confilict in
external browser chooser:
1) Spaces in filenames, selected via "Open" dialog are always cut
2) Spaces in filenames, directly typed in "Process" textfield, aren't cut.
Because most of FSs allow to use spaces in filenames, FFJ shouldn't cut it at all.
I've filed separate bug 21293.


Comment 3 _ rkubacki 2002-03-07 11:07:50 UTC
Right. Cutting looks like problem. Better to enter a bug for 'core' -
beaninfo editor for NbProcessDescritor cuts spaces. 21293 seems to be
different issue.
Comment 4 Alexei Mokeev 2002-03-19 11:51:56 UTC
Verified invalid.