gp54321
(Gp54321)
June 11, 2018, 9:05pm
2
see
opened 10:16AM - 15 Mar 18 UTC
closed 10:51PM - 24 Aug 22 UTC
01 type: bug
99 tag: UX Integrator/Themer
### What I did:
In Plone 5.1 Release:
- Go to: http://localhost:8080/Plone… /@@theming-controlpanel
- Copy Barceloneta Theme, name it test.
- Go to: http://localhost:8080/Plone/++theme++test/@@theming-controlpanel-mapper
- Open less/barceloneta.plone.less
- Click on "Build CSS"/"Compile"
### What I expect to happen:
- A syntax-highlighted LESS file within the ACE editor
- A successful compilation of the LESS file.
### What actually happened:
- No Syntax highlighting for LESS files. Probably due to missing: http://localhost:8080/Plone/++plone++static/components/ace-builds/src/ace/mode/behaviour/cstyle.js
Error in JS console:
```
Error: Script error for "ace/mode/behaviour/cstyle", needed by: ace/mode/behaviour/css
http://requirejs.org/docs/errors.html#scripterror
```
- A successful compilation of the LESS File. Instead I get the following error in the Overlay:
"Error: directive options not recognised"
### What version of Plone/ Addons I am using:
- buildout.coredev 5.1, rev: ``957e50bef47b5b2f20e6964417653633910c211f``
The problem also exists in the official Plone 5.1.0 release.
also
Plone 5.1.1 has been soft-released. Please give it a try and let me know if there are any critical issues. http://dist.plone.org/release/5.1.1-pending/versions.cfg
For those who haven’t run across soft-releases before, this is the
last step before the final release. Because things haven’t been
finalized yet, some packages may change between now and the release. It
is not recommended to use soft-releases in production.
Changelog
tempstorage: 4.0 → 4.0.1
------------------------
Zope2: 2.13.…
in short: was (almost) fixed in 5.1.1 (although if you rely a lot on Tinymce you may want to use workarounds to 5.1.0 outlined in the Github issue and stick to 5.1.0 since 5.1.1/5.1.2 suffer of a Tinymce update with several side effects)