Bug found: Less file created but cannot be edited.
I've managed to get this package working in my v4.7.2 installation. I've installed Umbraco in a subfolder (/cms/).
After creating my Less file in the "Less Files" tree node, when clicking on it to edit it, I received an error: "The file '.less' does not exist.".
I FTP'd into my server and could see the file had been created in the correct location (/cms/Less/) but the editor in the back office couldn't see it. On a hunch, I figured the editor might be trying to look for it in the site root. To test this, I created copy of the Less folder and file in the root and suddenly it started working. The editor was editting the file in the root instead of the file it created correctly inside the Umbraco application.
Thank you for the feedback. I currently do not have a site configured to run with the umbraco directory moved like you do. Is there anyway that you could upload or send me a link to download a zip directory of a site configured to run this way? That would be really helpful to debug it.
Bug found: Less file created but cannot be edited.
I've managed to get this package working in my v4.7.2 installation. I've installed Umbraco in a subfolder (/cms/).
After creating my Less file in the "Less Files" tree node, when clicking on it to edit it, I received an error: "The file '.less' does not exist.".
I FTP'd into my server and could see the file had been created in the correct location (/cms/Less/) but the editor in the back office couldn't see it. On a hunch, I figured the editor might be trying to look for it in the site root. To test this, I created copy of the Less folder and file in the root and suddenly it started working. The editor was editting the file in the root instead of the file it created correctly inside the Umbraco application.
Raj,
Thank you for the feedback. I currently do not have a site configured to run with the umbraco directory moved like you do. Is there anyway that you could upload or send me a link to download a zip directory of a site configured to run this way? That would be really helpful to debug it.
My idea is that either the return value from the "Save" when you create the file is returning the wrong path. See https://bitbucket.org/blackbayousoftware/uless/src/3272aa24dfa71331b564de6b18cab467e29d2323/src/uLess.Core/Tasks/LessFilesTasks.cs?at=default
Or, it could be part of the OnLoad of the actual editor control... https://bitbucket.org/blackbayousoftware/uless/src/3272aa24dfa71331b564de6b18cab467e29d2323/src/uLess.Core/UI/LessFilesEditor.aspx.cs?at=default
If you can't provide an turn-key environment, would you mind providing the instructions so I can setup a directory structure like you are using?
Thanks,
Justin
is working on a reply...