core icon indicating copy to clipboard operation
core copied to clipboard

Error when trying to delete a new site

Open nollymar opened this issue 10 years ago • 4 comments

This exception is thrown when trying to delete a host: https://gist.github.com/nollymar/3d36038101a99be42765079dbfafff3d

Steps to reproduce:

  • Add a new copy of an existing site (Site to copy: demo.dotcms.com)
  • Give it a host name and click on Save/Activate
  • Stop site
  • Archive site
  • Delete site

Result: Exception thrown and the deletion process never finish.

Tested on master-3.6/postgreSQL

nollymar avatar Aug 11 '16 22:08 nollymar

I am able to reproduce using master-3.7 // Postgres // FF SC: http://screencast.com/t/ZpYtMGvYR

bryanboza avatar Aug 12 '16 17:08 bryanboza

PR: https://github.com/dotCMS/core/pull/9616

oarrietadotcms avatar Aug 19 '16 21:08 oarrietadotcms

Fix is working. Copy an existing site from starter and deleted the site: it works, no exception thrown and process finishes completely. Create a new site and deleted the site: no exception thrown and process finishes completely. Added files, languages, images to existing site then copied the site and deleted it: it works, no exception thrown and process finishes completely.

master-3.6 // Mac OS 10.10 // MySQL 5.6.23 // Firefox master-3.6 // Ubuntu 14.04.1 // Postgres 9.3.5 // Chrome

shaydotcms avatar Aug 22 '16 13:08 shaydotcms

Great fix! @oarrietadotcms

dsilvam avatar Aug 22 '16 13:08 dsilvam