VirtualBox

Ticket #2477 (closed defect: fixed)

Opened 5 years ago

Last modified 3 years ago

OK option greyed out when adding a shared folder whose shared name contains a space. => Fixed in SVN

Reported by: bsdunx Owned by:
Priority: major Component: shared folders
Version: VirtualBox 2.0.2 Keywords: shared folder name space
Cc: Guest type: other
Host type: other

Description

I have verified that this happens on 2.0.2 on linux and windows host. 1.6.6 behaves as expected.

Change History

comment:1 Changed 5 years ago by bsdunx

I did a bit more research and tracked this down to line 139 of src/VBox/Frontends/VirtualBox4/src/VBoxVMSettingsSFDetails.cpp in the function VBoxVMSettingsSFDetails::validate(), which contains the following:

mButtonBox->button (QDialogButtonBox::Ok)->setEnabled (!mPsPath->path().isEmpty() &&

!mLeName->text().trimmed().isEmpty() && !mLeName->text().contains(" ") && !mUsedNames.contains (pair));

Is there any reason for the addition of this logic to the new Qt4 UI?

comment:2 Changed 5 years ago by internationils

Confirm on 2.0.4 as well, XP SP3 host, Kubuntu 8.10 guest. Took half an hour to figure it out as I was trying to mount "My Documents" which (by default) uses that name...

comment:3 Changed 5 years ago by davjam79

It's still present under 2.1.4 with an XP SP2 host and openSUSE 11.1 guest. Finally figured out the shared path could have a space in the name but the shared folder name had to have the space removed for it to be allowed.

comment:4 Changed 4 years ago by frank

  • Summary changed from OK option greyed out when adding a shared folder whose shared name contains a space. to OK option greyed out when adding a shared folder whose shared name contains a space. => Fixed in SVN

This bug will be fixed in the next major release.

comment:5 Changed 3 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Should be fixed in 4.0.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use