[RTFACT-12459] When restoring a file from the Trash Can the restore works but an error appears Created: 12/Sep/16  Updated: 26/Oct/17  Resolved: 16/Oct/17

Status: Resolved
Project: Artifactory Binary Repository
Component/s: None
Affects Version/s: None
Fix Version/s: 5.6.0

Type: Bug Priority: High
Reporter: Mor Iluz (Inactive) Assignee: Saffi Hartal (Inactive)
Resolution: Fixed Votes: 0
Labels: None

Assigned QA: Anastasiya Muntyan
Sprint: Leap 21, Leap 23


To reproduce:

1. Upload some file to ext-release-local.
2. Delete the file by right clicking it and choose Delete.
3. Go to the Trash Can and restore the file (note you need to restore the file specifically and not from the root.
4. Even though the restore works, you will see this error in the log:
2016-09-12 10:28:35,095 [http-nio-8082-exec-2] [ERROR] (o.a.r.s.f.FlatMoveCopyServiceImpl:180) - About to delete auto-trashcan:ext-release-local/nservicebus.nhibernate.3.0.0.nupkg but folder doesn't exist

As mentioned, if you restore the file from the root (right click on ext-release-local - restore) this error doesn't show

Generated at Sun Jan 26 22:26:36 UTC 2020 using JIRA 7.6.16#76018-sha1:9ed376192612a49536ac834c64177a0fed6290f5.