Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plone 5.2: multiple js related errors #161

Open
mtrebron opened this issue Jul 4, 2019 · 1 comment
Open

Plone 5.2: multiple js related errors #161

mtrebron opened this issue Jul 4, 2019 · 1 comment

Comments

@mtrebron
Copy link

mtrebron commented Jul 4, 2019

Compiling a less resource only works the first time after a theme is loaded in @@theming-controlpanel-mapper

  • as soon as the compilation is completed, a new modal window appears in the top-left corner of the browser.
  • after then making changes to the less file, saving and recompiling, the resulting css stylesheet does not change.

Workaround is to reload the page and select the less resource again.

@mtrebron
Copy link
Author

mtrebron commented Jul 6, 2019

Possible data-points:

  1. this happens in multiple versions of firefox
  2. upon loading the @@theming-controlpanelmapper, the javascript error messsges below are visible in the Firefox debug window
  3. it is not possible to upload images, the preview shows as selected for upload, the upload itself fails.
TypeError: t.exec(...) is null[Learn More]  thememapper-compiled.js:41270:19
	setDefaultPaths thememapper-compiled.js:41270:19
	getManifest/<.success< thememapper-compiled.js:41213:34
	<anonymous> self-hosted:951:17
	j http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:2:27304
	fireWith http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:2:28122
	x http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:5:22109
	b http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:5:26030
TypeError: i.ace.editor is undefined[Learn More]  thememapper-compiled.js:39757:8
	openEditor thememapper-compiled.js:39757:8
	success thememapper-compiled.js:39667:12
	j http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:2:27304
	fireWith http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:2:28122
	x http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:5:22109
	b http://192.168.0.245:8888/Plone/++plone++static/components/jquery/dist/jquery.min.js:5:26030

@mtrebron mtrebron changed the title Plone 5.2: compiled css stylesheet does not update Plone 5.2: multiple js related errors Jul 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant