illegal characters in path

6 posts, 0 answers
  1. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 03 Dec 2015 Link to this post

    Hi,

     

    Since the latest update I get error message [illegal characters in path] where I try to rename a file to a name which contains a space.

    I am sure this was always allowed till now. Of course our CMS customers have thousands of assets containing spaces which cannot be renamed right now, so this is a very serious issue. Please see attached screenshots.

    Marc

  2. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 04 Dec 2015 Link to this post

    Hi Marc,

    Thank you for bringing this issue to us. I have logged it with highest priority and we will fix it as soon as possible. For the time being you can fix this behavior by adding the following workaround to he page containing FileExplorer:
    <script>
        var $ = $telerik.$;
     
        Telerik.Web.UI.RadFileExplorer.prototype._shouldPreventRename = function (newName) {
            var invalidChars = this._getInvalidCharsToString().replace(/ /g, '');
     
            for (var i = 0; i < invalidChars.length; i++) {
                if ($telerik.$.inArray(invalidChars[i], newName) > -1) {
                    return true;
                }
            }
     
            return false;
        }
    </script>

    I have also upgraded your Telerik point as a small token of gratitude for the reported issue.

    Regards,
    Vessy
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Charles
    Charles avatar
    1 posts
    Member since:
    Oct 2014

    Posted 05 Jan in reply to Vessy Link to this post

    +1  Same issue here
  5. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 25 Jan in reply to Vessy Link to this post

    Hi,

     

    With the latest update I get a new error here, see attached.

    As this is in our CMS can you give this prio? I must say I find it very unusual from Telerik to get error on error in new releases...

    Marc

  6. Fit2Page
    Fit2Page avatar
    345 posts
    Member since:
    Feb 2007

    Posted 26 Jan in reply to Fit2Page Link to this post

    Hi,

    I discovered that this is an issue with writing to a folder in a virtual directory. There were not the proper right set. So I think I owe you an apology for my reaction. Maybe the error message that occured could be some more explainable.

    Marc

  7. Vessy
    Admin
    Vessy avatar
    1380 posts

    Posted 26 Jan Link to this post

    Hi Marc,

    Thank you for the update - I am glad you managed to find the solution of the problem. I will pass your suggestion for making the thrown error message more descriptive for a further consideration.

    Regards,
    Vessy
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017