minor: error when space is in directory-path

minor: error when space is in directory-path

avatar

hi!
i just wanted to create a new data source and entered one space in the "File name" field by accident .. clicking on the three dots to select a directory then brings up an unexpected error ...

KR
guenther

All Comments (6)

avatar

Hi,
I'm unable to reproduce, can you post the error detail please?

David Hervieux

avatar

steps to reproduce:
- File | Data Sources ...
- Add a New Data Source
- Standard Edition
- Xml
- Name: "asdf"
- File name: " "
- click on button "..."

results:
--8<---------------------------------------------------
Enterprise Edition 6.1.3.0

ArgumentException - The path is not of a legal form.

at System.IO.Path.NormalizePathFast(String path, Boolean fullCheck)
at System.IO.Path.NormalizePath(String path, Boolean fullCheck)
at System.IO.Path.GetDirectoryName(String path)
at Devolutions.RemoteDesktopManager.Frames.DataSources.FreXmlDataSource.butOpen_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
--8<---------------------------------------------------

KR
guenther

avatar

I see, just a space, I tried with a space in the middle of the filename

David Hervieux

avatar

Reproduced and fixed. Thank you!

David Hervieux

avatar

yes just a space ...

another minor thing:
- File | Data Sources ...
- Add a New Data Source
- Standard Edition
- Xml
- Name: "asdf"
click on cancel an cancel again

result:
you will be asked to exit and loose the 'changes' .. you will only be asked once ...

avatar

Reproduced and fixed. Thank you!

David Hervieux