I just upgraded my Plone from 5.1.0 to 5.1.4. The weirdest thing has happened. Add content type Folder is now problematic. When I want to Add Folder to my current site, all I see is the word Add Folder without any fields. The other content types are working fine. Even when I remove my customized theme, the problem persists.
If I create a new Plone site, Add Folder behaves like it should. When I install my customized theme on it, it is working without any issues.
Is this a caching problem or something else? I have cleared all my caches -- browser cache and also the caches in Plone but to no avail. Any advice would be most appreciated. Thank you.
Is it only happening with the Folder content type, or all? I've seen similar behavior when Products.CMFDefault is installed, and it shouldn't be in newer Plone sites.
Chrissy, yes, it is only happening to the Folder content type. Do you know how I can resolve the issue?
The other thing I found out is when I upgrade plone.app.event from 3.1 to 3.2 is when the fields in the Folder content type disappears. When I uninstall plone.app.event, the option to Add Folder disappears. So I think the culprit is plone.app.event that came with Plone 5.1.4
Yes, I was in portal_quickinstaller and reinstalled plone.app.event because the version had changed from 3.1 to 3.2.1. When I did that, my site can no longer add a new folder. All the fields disappeared from the Folder content type.
Kim, that was what I did first until I was curious and when to quickinstaller and noticed a bunch of applications marked red with a an updated version. So I reinstalled them and everything worked without any issue until I came to plone.app.event. If we don't need to use quickinstaller anymore, why is the ZMI not synced up with Plone?
No, Kim. I can no longer add Folders after I upgraded plone.app.event from 3.1 to 3.2.
What I mean is not syncing is if I don't need to use the quickinstaller for upgrades then why I do I see indication (marked in red) that I have to reinstall individual applications in quickinstaller? If I can do everything in Plone and everything in Plone says that all my apps have been updated, then the quickinstaller listing should all have the latest update of all my apps as well (which means that nothing should be marked red). That was not the case.
Plone 5.1.4 uses p.a.event 3.2.0 so if you say you saw warning icons in the quickinstaller then you have not upgraded the site properly. After updating a Plone buildout installation, you will also need to upgrade your site (database). This is done via the Plone control panel or via the ZMI. You will see a warning to upgrade in both locations so you need to click either of the upgrade links. The upgrade UI will offer to test run the upgrade. If there are errors then you should fix the errors first. If everything is fine then proceed with the database upgrade.
Likely, what happened with your site is that the application of updates was done in the wrong order because you did it manually. To fix this issue, it is easier to do the upgrade again using a backup copy of your database.
I couldn't find anything in docs.plone.org that shows how I upgrade a simple (no extra add-ons) site. With screen shots. And a sound track. I feel twitchy fingers...
MigrationĀ¶
Visit your Management Interface (http://yoursite:8080). You will see a message prompting you to run Ploneās migration script for each site in your instance:
This site configuration is outdated and needs to be upgraded.
Click Upgrade button next to the site and the upgrade will run.
Check Dry Run if you want to test the migration before you execute it.
Thanks Kim. I will know better next time to not visit portal_quickinstaller and ignore their messages to upgrade from there. It was on my staging site and so it was not a major disaster. Thanks so much for all your helps. So is it safe to say that that I need to try to do everything in Plone and not go into ZMI unless totally necessary? I know that when I mess with LDAP connections, it works better when I am in the ZMI than trying to do so in Plone.