You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2019/03/08 15:13:44 UTC

[Bug 63245] New: Ask confirmation on UNDEPLOY

https://bz.apache.org/bugzilla/show_bug.cgi?id=63245

            Bug ID: 63245
           Summary: Ask confirmation on UNDEPLOY
           Product: Tomcat 9
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: paolo.perliti@miliaris.it
  Target Milestone: -----

Since RELOAD and UNDEPLOY buttons are very close together, it would be
advisable to ASK FOR CONFIRMATION when UNDEPLOY button is pressed within the
Manager console.
This could save a lot of pain (especially in production environments).
Also, developers could have used a junction to link their local development
folder to Tomcat's webapps folder (to speed up repetitive deployment operations
on their own machine) so an unintentional undeploy would end up deleting
contents of the original working folder.

Since Manager's presentation logic is wrapped inside catalina.jar it's not easy
to disable undeploy button.

Could you at least provide a confirmation dialog on UNDEPLOY click?

Thank you.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63245] Ask for confirmation on UNDEPLOY

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63245

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #1 from Mark Thomas <ma...@apache.org> ---
Tomcat provided this for a while back around the time of Tomcat 6.

Opinion was strongly divided on whether there should be a confirmation dialog
or not. It was removed back in 2009 and this is the first request I recall for
it to return.

There are plenty of ways to disable undeploy (e.g. with a security constraint).
Further advice is available from the users@ list if required.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


[Bug 63245] Ask for confirmation on UNDEPLOY

Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63245

paolo.perliti@miliaris.it <pa...@miliaris.it> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Ask confirmation on         |Ask for confirmation on
                   |UNDEPLOY                    |UNDEPLOY

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org