Issue 12002 - better warning mechanism needed for scripts of the same name in Netbeans parcel recipe
Summary: better warning mechanism needed for scripts of the same name in Netbeans parc...
Status: CLOSED WONT_FIX
Alias: None
Product: General
Classification: Code
Component: scripting (show other issues)
Version: 644
Hardware: All All
: P4 Trivial (vote)
Target Milestone: OOo 2.0
Assignee: tomaisoc
QA Contact: issues@framework
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-03 17:25 UTC by robert.kinsella
Modified: 2003-03-11 18:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description robert.kinsella 2003-03-03 17:25:07 UTC
SFrameworkInstall.jar.27.02.2003, NetBeans 3.4

Create a java script parcel recipe, within the parcel recipre create a file e.g.
java1
Right click on the Contents directory and select new, office scripting, empty
script java script. In the new wizard java script enter the name of the new
script the same as the previously created script i.e. 'java1'.

The Finish button is correctly greyed out,  a nice feature would be to warn the
user that a script of that name already exists within this parcel recipe.


Note the finish button is only greyed out when the user is adding a script of
the same type and name to the parcel recipe, i.e. the user in theory can create
a beanshell script called java1 in the same parcel recipe as a java script
called java1. bug 12001 has been logged  suggesting that a user should not be
allowed create a beanshell script in a java script parcel, or a java script in a
beanshell parcel.
Comment 1 Unknown 2003-03-04 07:37:18 UTC
Assign to Tom - if it's a simple fix to warn the user about the
existing file then make the mod - otherwise release note it.
Comment 2 tomaisoc 2003-03-04 12:18:48 UTC
Unfortunately this is not easy to do, the panel where you choose the name
for your script is a standard panel from NetBeans over which we do not
have control. I'm not sure we should even release note it as this is
standard NetBeans behaviour, so I'm marking it as WONTFIX, if we want
this changed we would need to log an enhancement request against
NetBeans.
Comment 3 michael.bemmer 2003-03-11 18:05:28 UTC
As mentioned on the qa dev list on March 5th I will close all resolved duplicate
issues. Please see this posting for details. First step in IssueZilla is
unfortunately to set them to verified.
Comment 4 michael.bemmer 2003-03-11 18:14:06 UTC
As mentioned on the qa dev list on March 5th I will close all resolved
<wontfix/duplicate/worksforme/invalid> issues. Please see this posting for details.