core icon indicating copy to clipboard operation
core copied to clipboard

Unable to create a past time machine snapshot

Open bryanboza opened this issue 9 years ago • 2 comments

Expected Behavior

We should be able to create a past time machine snapshot without problems

Current Behavior

We are showing an error on logs every time you try to create a past time machine snapshot

Steps to Reproduce (for bugs)

  1. Login as admin
  2. Go to time machine portlet
  3. Try to create a past snapshot
  4. Check the logs

Your Environment

Tested on master-3.7 // MySQL // Chrome

bryanboza avatar Jan 23 '17 21:01 bryanboza

The root cause was an attempt to copy a directory with empty files. A new validation was included.

PR (Enterprise): https://github.com/dotCMS/enterprise-2.x/pull/420

nollymar avatar Jan 24 '17 18:01 nollymar

Failed QA. Still unable to create a past TM after upgrade from 3.6 using client data https://gist.github.com/shaydotcms/f760215035d75a6496e35952dfb7c8bd

image

Tested in latest master-3.7 Ubuntu / Postgres / FF

shaydotcms avatar Jan 25 '17 20:01 shaydotcms