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

Superfluous import of modeleditor.css resource in modeleditor.pt #427

Open
mtrebron opened this issue Jun 20, 2024 · 0 comments
Open

Superfluous import of modeleditor.css resource in modeleditor.pt #427

mtrebron opened this issue Jun 20, 2024 · 0 comments

Comments

@mtrebron
Copy link

mtrebron commented Jun 20, 2024

These lines

<style type="text/css"
tal:content="string:@import url(${portal_url}/++resource++plone.app.dexterity.modeleditor.css);"
></style>

lead to

2024-06-20 09:14:44,451 ERROR   [Zope.SiteErrorLog:17][waitress-0] NotFound: http://localhost:8888/Plone/++resource++plone.app.dexterity.modeleditor.css
Traceback (innermost last):
  Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
  Module ZPublisher.WSGIPublisher, line 391, in publish_module
  Module ZPublisher.WSGIPublisher, line 269, in publish
  Module ZPublisher.BaseRequest, line 529, in traverse
  Module ZPublisher.HTTPResponse, line 987, in debugError
zExceptions.NotFound: Cannot locate object at: http://localhost:8888/Plone/++resource++plone.app.dexterity.modeleditor.css

in Plone 6.0.11. Removing the import from the template results in a nicely styled XML workspace.

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