Endevor Explorer - Temp file was not deleted after edit
search cancel

Endevor Explorer - Temp file was not deleted after edit

book

Article ID: 217498

calendar_today

Updated On:

Products

Endevor

Issue/Introduction

Using Endevor Explorer VSCode extension, after editing an element using the Edit element option, get the following error after adding back to Endevor 

Edited file: f:\VSCode\.e4e\CAT-version-013461C300ADDDBA.cob was not deleted correctly. (see OUTPUT for more details

And in the Output

2021-06-08T14:37:52.805Z - Update successful!
2021-06-08T14:37:52.926Z - Edited file: f:\VSCode\.e4e\CAT-version-013461C300ADDDBA.cob was not deleted correctly.
2021-06-08T14:37:52.926Z - Edited file: f:\VSCode\.e4e\CAT-version-013461C300ADDDBA.cob was not deleted because of: Unknown (FileSystemError) (FileSystemError): Error: Failed to move 'CAT-version-013461C300ADDDBA.cob' to the recycle bin.

Environment

Release : 18.1

Component : EXPLORER FOR ENDEVOR

Resolution

By default, the "Enable Trash" setting is turned on in the vscode workspace setting, Endevor explorer only move the deleted temp files to OS recycle bin. 

Failed to move elementXXX to recycle bin error is caused by the windows recycle bin setting (recycle bin is disabled for that drive). 

Workaround:

Uncheck the "Enable Trash" vscode workspace setting to manually delete the temp file.

Or enable recycle bin for the drive in the windows OS recycle bin setting.

 

 

Additional Information

Development team is working on the Endevor explorer enhancement: check the vscode "Enable Trash" setting during the file deletion.