Red Hat Bugzilla – Bug 831603
If initial template is deleted, the user can not create a new template
Last modified: 2013-09-01 06:14:03 EDT
If a user has gone to Admin->Config->Drift definitions and e.g. deleted the only template for an AS5 server, it is not possible to create a new template by pressing the new button.
The UI shows a red bar "Some non caught exception has happened" and the grey screen will stay on screen -- one has to reload the whole RHQ UI to continue.
- can not create a template without another template that is used as template :-)
- on Error, the UI becomes non-responsive
There is no error in the log or in the message center.
DriftTemplateManagerBean now throws an IllegalArgumentException if you try to delete a plugin defined template. The delete action in the templates ui is now disabled for plugin defined templates. Changes have been pushed to master.
commit hash: b8a19a54ca7e
Bulk closing of items that are on_qa and in old RHQ releases, which are out for a long time and where the issue has not been re-opened since.