|
Rank: Member Groups: Member
Joined: 11/13/2009 Posts: 15
|
Hi,
File Explorer object on the client side.
If I get the current file before selecting any file an empty string is returned by getCurrentFile() or getSelectedFile().
If I select a file then delete it, the getCurrentFile() or getSelectedFile() returns the value of the previously deleted file.
I would rather have an empty string returned. Is this a bug?
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
This looks like a bug. We will look into it and hopefully fix it as soon as possible.
Thanks!
|
|
Rank: Member Groups: Member
Joined: 11/13/2009 Posts: 15
|
Also, not a big deal but if the root folder is set to a file path the getSelected... and getCurrent... client side calls return a path with forward slashes (/) like a virtual path.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
We have posted a new build that should fix the getSelectedFile problem after item has been deleted. As to when a root folder is set to a file path, I believe that is the correct behavior because getSelectedFile always return a virtual path. It never returns physical path (for security reason). That's also why you need to use PathMapping object to map physical path into virtual path.
Thanks!
|
|