-
-
Notifications
You must be signed in to change notification settings - Fork 18
Update TinyMCE toolbar and menu button name #350
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
Conversation
|
@petschki thanks for creating this Pull Request and helping to improve Plone! TL;DR: Finish pushing changes, pass all other checks, then paste a comment: To ensure that these changes do not break other parts of Plone, the Plone test suite matrix needs to pass, but it takes 30-60 min. Other CI checks are usually much faster and the Plone Jenkins resources are limited, so when done pushing changes and all other checks pass either start all Jenkins PR jobs yourself, or simply add the comment above in this PR to start all the jobs automatically. Happy hacking! |
|
@jenkins-plone-org please run jobs |
mauritsvanrees
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I get a traceback when I try to upgrade an existing site:
Traceback (innermost last):
Module ZPublisher.WSGIPublisher, line 181, in transaction_pubevents
Module ZPublisher.WSGIPublisher, line 390, in publish_module
Module ZPublisher.WSGIPublisher, line 284, in publish
Module ZPublisher.mapply, line 98, in mapply
Module ZPublisher.WSGIPublisher, line 68, in call_object
Module Products.GenericSetup.tool, line 1129, in manage_doUpgrades
Module Products.GenericSetup.upgrade, line 191, in doStep
Module plone.app.upgrade.v62.alpha, line 10, in update_tinymce_toolbar_menu_styles
Module plone.registry.registry, line 164, in __setitem__
ValueError: Value must be a record
I know we had a similar error a while back, but I don't remember in which package.
I think you just need to set registry['name'] directly, but I did not try this.
|
@jenkins-plone-org please run jobs |
|
Now I get another error: The value is this: Is this expected? Or would this be the result of a Plone Site generated a while ago in a too-much-in-development 6.2 coredev and running some upgrade steps twice or something like that? Looks like we need to call |
|
Sorry for that. I'll fix it later today. |
|
I've now correctly converted the JSON value and also take customized configurations into account. |
|
@jenkins-plone-org please run jobs |
mauritsvanrees
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, it works now.
see plone/plone.base#93