core
core copied to clipboard
Template name not showing when attempting to delete it on archive state
When you have a template with page dependency and want to delete that template, UI is not showing the template name on the popup, however when you navigate to Templates portlet> right click over the template> Delete, you can see the template name.
Expected Behavior
UI should display the template name when you attempt to delete it

Current Behavior
UI is not showing the template name on the message popup when the template is archived first

Steps to Reproduce (for bugs)
- Login to dotcms
- Navigate to Site> Templates. Right click on "Quest - Homepage". Select Unpublish then Archive
- Do right click one more time and choose Delete Template> Ok
- You will see the UI is not displaying the template name
Your Environment
- dotCMS version used: master branch
- Database and version: Postgres 9.3.5
- Operating System and version: Mac OS 10.10.5
- Browser Name and version: Firefox v57.0.4
- Application Server and version: Tomcat 8
- Java Brand and version: Java 8
Passed QA. Template name is successfully showing when attempting to delete it after archive state. Tested using upgrade and starer data Postgres 9.6 / Mac OS 10.10.5 / Firefox v57.0.4 / Tomcat 8 / Java 8