Bug 567104 - [Import/Export] FileSystem - Export Error if a File should be overriden
Summary: [Import/Export] FileSystem - Export Error if a File should be overriden
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.17   Edit
Hardware: PC Windows 10
: P3 normal with 1 vote (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-18 03:24 EDT by Sven Dittmann CLA
Modified: 2021-01-22 07:38 EST (History)
2 users (show)

See Also:


Attachments
Error Popup Screenshot (17.48 KB, image/png)
2020-09-18 03:24 EDT, Sven Dittmann CLA
no flags Details
Encounterd error during export when trying to overwrite existing files or folders (173.70 KB, image/png)
2021-01-22 07:36 EST, Markus Nowatzki CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sven Dittmann CLA 2020-09-18 03:24:47 EDT
Created attachment 284167 [details]
Error Popup Screenshot

Overview:

Using the FileSystem Export Function causes en error during export Message. But only if the File already exists.

Error Message: 

Problem were encountered during export

Under Details:

Problems were encountered during export:
  Error exporting C:/build-all/etc/properties/common/AsgnFuncIdentCtrl.properties: C:\build-all\etc\properties\common\AsgnFuncIdentCtrl.properties
  C:\build-all\etc\properties\common\AsgnFuncIdentCtrl.properties

There is nothing in the Error Log View


Steps to Reproduce: 
Export a any File to any Destination. Export the same File to the same Destination.

Actual Results:
The File gets not overriden

Expected Results: 
Override the File or show a Detailed Error Message
Comment 1 Markus Nowatzki CLA 2021-01-22 07:34:59 EST
I seem to have this problem as well.


Overview: 

When trying to export a project or folder or even file and the folders/files exist at the target I encounter the error 

Error Message:

"Problems were encountered during the export"

Details:

"Error exporting" Filename A
"Error exporting" Filename B
etc.

Steps to Reproduce:

1. Choose a project
2. Export...
3. Select Filesystem and click Next
4. Enter desired target under "To directory"
   Select "Overwrite existing Files without warning" and "Create directory structure" for files
5.Upon clicking finish the error occurs

If I choose to deselect "Overwrite existing Files without warning" the error does not occur, but then I have to confirm each file separately, which works. 

If then I decide to choose "Overwrite 'Filename' in folder 'targetfolder'" and "Yes for all" the error occurs again.

There is nothing in the error log at all.

 Actual Results:
The Files gets not overwritten

Expected Results: 
Overwrite the Files or show a Detailed Error Message

My version of Eclipse is:

Version: 2020-09 (4.17.0)
Build id: 20200910-1200

My OS is: Ubuntu 18.04.5 LTS with OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.18.04)


A collegue has tested this also on Windows, with a current eclipse installation (don't know which one). The error has occcurred now for several years, and I try it again and again whenever a new Eclipseversion is being published. So I decided to add my case to this bugreport.
Comment 2 Markus Nowatzki CLA 2021-01-22 07:36:30 EST
Created attachment 285364 [details]
Encounterd error during export when trying to overwrite existing files or folders
Comment 3 Markus Nowatzki CLA 2021-01-22 07:38:34 EST
I forgot to say, the export works well, when the target does not yet exist.