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 54617 - Remove action in Server Manager and Java Platform Manager does not ask for confirmation
Summary: Remove action in Server Manager and Java Platform Manager does not ask for co...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: jrojcek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-07 10:25 UTC by Pavel Buzek
Modified: 2006-08-21 10:04 UTC (History)
2 users (show)

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 Pavel Buzek 2005-02-07 10:25:36 UTC
Should not a delete action ask for confirmation?
The same is true about Library Manager and Java
Platform Manager.
Comment 1 Pavel Buzek 2005-02-07 10:26:25 UTC
Jano, assign it back if you decide this should be implemented.
Comment 2 Pavel Buzek 2005-02-21 21:18:53 UTC
easy to implement once Jano decides...
Comment 3 Jiri Kopsa 2005-04-26 09:42:33 UTC
1. Removal confirmation vs Cancel button
This issue applies to the Java Platform Manager as well. And we might also think
about consistency with other managers:
- Library Manager has a Cancel button (the removal confirmation is not necessary
then). 
- Palette Manager has a removal confirmation

Pavle, is the Cancel button implementable in Server(and Java Platform) manager?
I can imagine, that it might be quite hard ...

2. Add/Remove vs Register/Unregister
Shouldn't we rather use the word "unregister" in the removal question as well as
on the buttons instead of "remove"? The verb "unregister" is used in the Help set.

Morover, the term "Server Instance" might be used instead of just "Server"
It is already used it in "Add Server Instance" wizard and Help set, however
there is "Server Manager", "Add Server" button, "Add Server" action and
"Servers", "Server Name" and "Server Type" labels.

Note: we may want to reassign this issue to another component.
Comment 4 Sherold Dev 2005-04-26 10:23:28 UTC
> Pavle, is the Cancel button implementable in Server(and Java Platform) manager?
> I can imagine, that it might be quite hard ...

I think that Cancel button is the right choice, although a bit harder to
implement. Once we move settings from Tomcat property sheet here (this was
already done for appserver) and once we make it possible to change server's
classes, sources, etc., we should make it possible to undo changes.

> Add/Remove vs Register/Unregister

I would vote for "Add/Remove" since it's shorter and explanatory enaugh.

> Morover, the term "Server Instance" might be used instead of just "Server"
> It is already used it in "Add Server Instance" wizard and Help set, however
> there is "Server Manager", "Add Server" button, "Add Server" action and
> "Servers", "Server Name" and "Server Type" labels.

IMO, "Server" is better - here applies the same as for "Add/Remove" - word
"instance" seems to be quite redundant to me.
Comment 5 Petr Blaha 2006-03-13 13:51:04 UTC
TM 5.0 -> TBD
Comment 6 Petr Jiricka 2006-08-21 10:04:58 UTC
This is fixed now - action name is "Remove" and it displays a confirmation
dialog, which addresses the original problem.