The behaviour when adding new locations/terminals in the GUI is inconsistent. For example, when adding a new Application Group in the TLDC module, you have the option to 'Delete' the yet-unsaved group. Clicking this has roughly the same effect as a 'Cancel' button, bringing you back to the list of currently saved groups. This same behaviour is exhibited when adding new Application Server Groups. So far, so good. Doing the same thing for new locations/terminals however does not have this effect - the new group form remains displayed even after clicking delete. A GUI-wide improvement may be to have a 'Cancel' button that can be used when editing a new group or making changes to an existing one.
(In reply to comment #0) > A GUI-wide improvement may be to have a 'Cancel' button that can be used when > editing a new group or making changes to an existing one. > Also, clicking "Delete" on an unsaved sub menu in TLDC gives the error message "No such menu". Doing the same thing with the "Yes, really delete..." checkbox checked results in the traceback described in bug #3904. A Cancel button would probably address this nicely.
probably, the best solution is that the Delete button should not be visible at all if editing a new object.
*** Bug 8090 has been marked as a duplicate of this bug. ***
There is currently a special case for not showing the delete button in TLDC⇾Menu structure that could be moved to our tllib function for save and delete buttons such that it can be used elsewhere.