core icon indicating copy to clipboard operation
core copied to clipboard

Template name not showing when attempting to delete it on archive state

Open shaydotcms opened this issue 8 years ago • 1 comments

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 image

Current Behavior

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

Steps to Reproduce (for bugs)

  1. Login to dotcms
  2. Navigate to Site> Templates. Right click on "Quest - Homepage". Select Unpublish then Archive
  3. Do right click one more time and choose Delete Template> Ok
  4. 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

shaydotcms avatar Jan 11 '18 20:01 shaydotcms

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

shaydotcms avatar Jan 23 '18 22:01 shaydotcms