core icon indicating copy to clipboard operation
core copied to clipboard

Incorrect confirmation message when deleting html page with dependency

Open shaydotcms opened this issue 11 years ago • 2 comments

If an HTML page has a dependency with another one and you try to delete the child page, the system says it was successfully deleted but the logs say the opposite: [03/02/15 08:16:29:596 CST] WARN business.ESContentletAPIImpl: Cannot delete content that has a working copy in another language

The system message perhaps should match with the log

To reproduce: 1-Create a new HTML page in English 2-Open the "Page Properties" 3-Switch page language to "Espanol" and save the page with the same name 4-Now archive the page in spanish. Hit Show Archive 5-Try to delete the archived page

dependency html

Tested on: 3.1 Nightly build 2015-02-02 21:54 // Ubuntu 14.04 // Postgres // Chrome

shaydotcms avatar Feb 03 '15 14:02 shaydotcms

Working as expected. Tested on: 3.1 Nightly build 2015-02-11 18:53 // Ubuntu 14.04 // Postgres // Chrome

shaydotcms avatar Feb 12 '15 14:02 shaydotcms

Added TC http://qa.dotcms.com/index.php?/cases/view/55727

shaydotcms avatar Mar 20 '15 15:03 shaydotcms