Skip to content

[BUG] DB Manager: uploading files and directories with Whitespace in Name fails silently #545

@tohuuuuu

Description

@tohuuuuu

Describe the bug
When uploading files and directories into eXist-db via eXide's "DB Manager" (Menu "File" -> "Manage" -> "Upload Files" -> "Upload Directories" button), files and directories with names containing spaces are silently ignored.

Expected behavior
DB Manager should accept and save files and directories containing spaces (the same way the Java Admin Client does). At least, if some resources are ignored / not uploaded, eXide should show an error messages.

Since the Java Admin Client is able to upload directories and files with names containing spaces, i assume it isn't an eXist-db "core" issue but an eXide issue.

To Reproduce

  1. Open the DB Manager in eXide;
  2. Hit the "Upload Files" button;
  3. Hit the "Upload Directories" button;
  4. Select a directory with a name containing spaces (or containing XML files whose names contain spaces) EDIT: see zip attached to next comment;
  5. Hit button "done"
  6. Check the result.

Context (please always complete the following information):

  • OS: Linux Mint, Kernel 5.15.0-52-generic
  • eXist-db Version: 6.0.1
  • Java Version: OpenJDK 11.0.16
  • App Version: eXide 3.4.0 EDIT: and 3.5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions