Hi I found a problem in a client website; I'm not sure if it may be a more general problem or if we are doing something weird there.
There were problems with TinyMCE, where saving a page would completely get rid of all html tags, at least in some cases, depending on which buttons you clicked (mostly the blue-disk save button, the html button, and the archetypes save button) and depending on if you actually changed some text or not. It would sometimes work and we could not figure out a way to reliably reproduce it. Part of the solution seemed to be to go to portal_javascripts and switch the debug mode on and off again: this regenerates the merged javascripts. That initially seemed to have fixed the problem, but later that was found not to be the case. The preview website for this client was working fine. When comparing the merged javascript files we saw a difference: production was missing a few dozen tinymce lines. This was the same as the difference between TinyMCE 1.1rc9 (which was used previously for this client) and 1.1.4 (which is used now). So somehow Plone was still using old javascript files. We removed all Products from the root Zope Control Panel and restarted the instance. This fixed the problems, at least as far as we can currently see. On preview it worked fine all along, as I had removed the products there already because that is what I always do when copying a Data.fs from one place to another, as the control panel can point to paths that exist on the original server but may not exist on the new server. But in the case of the live site it was apparently also needed to ensure the new javascript files were loaded. I had not noticed that before on any product. Has anyone seen that too? Can anyone explain why this is necessary? Note that the portal_quickinstaller already correctly listed TinyMCE as version 1.1.4 before purging the products from the zope control panel, so I had no hint there that anything was wrong. Also note that we had been using TinyMCE 1.1rc9 since March and that we had upgraded the version a few times since then. -- Maurits van Rees Programmer, Zest Software _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
