-
Bug
-
Resolution: Fixed
-
Minor
-
2.9
-
MOODLE_29_STABLE
-
MOODLE_29_STABLE, MOODLE_30_STABLE
-
MDL-50258_master -
-
When in theme designer mode with a theme that uses the PHP LESS compiler (such as More) and you use a compatible browser (such as Chrome) the linked source files have a corrupted URL that is a mixture of the server and physical file path (using 'http' etc instead of 'file' protocol). Image attached illustrating the issue.
I have attempted to find a solution in this forum thread: https://moodle.org/mod/forum/discuss.php?d=313061 - but did not come up with a complete solution. There is something clearly going on with the 'root' of the map needing to be the 'theme' folder itself rather than an individual theme such that themes with parents will work.
I've only tested in M2.9 on Windows, but could affect older versions as far back as M2.7.
The solution should be not to have the 'filename path' on the physical storage medium but rather the correct URL for the web server to access the file. However, this may cause issues with 'themedir' so a compromise needs to be made that in this case 'themedir' would not be supported in favour of flexibility in development environments.
- has a non-specific relationship to
-
MDL-51582 Switch to grunt to compile LESS as recess is no longer maintained
-
- Closed
-
- is child of
-
MDL-44597 Add support for source maps with less.php
-
- Closed
-
- will be (partly) resolved by
-
MDL-51582 Switch to grunt to compile LESS as recess is no longer maintained
-
- Closed
-