| Summary: | FileService creates empty subfolders | ||
|---|---|---|---|
| Product: | z_Archived | Reporter: | Matthias Zimmermann <zimmermann> |
| Component: | Scout | Assignee: | Project Inbox <scout.core-inbox> |
| Status: | CLOSED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
fixed on 5.4.11, #93948 shipped with eclipse scout 3.7.0 |
FileService.syncRemoteFilesToPath doesn't work properly. when calling syncRemoteFilesToPath("c:\offline\triggers","offline\triggers", null) the content of the folder is correctly copied on the server but at the same time an empty subfolder c:\offline\triggers\offline\triggers is created. Most likely reason (in German only): Der Grund dafür scheint der Aufruf auf Zeile 164 zu sein: File f = getFileLocation(realFiles[i][0], realFiles[i][1], false); Hier ist realFiles[i][0] = "offline/triggers" und realFiles[i][1] der Filename. Meiner Meinung nach sollte hier aber der leere String übergeben werden, da getFileLocation ausgehend vom Basispfad c:\offline\triggers noch das erste Argument anhängt und damit den falschen Ordner bastelt.