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

Branch 6.0: Issue with portal_form_controller #729

Open
andreasma opened this issue Jul 23, 2021 · 3 comments
Open

Branch 6.0: Issue with portal_form_controller #729

andreasma opened this issue Jul 23, 2021 · 3 comments

Comments

@andreasma
Copy link
Member

I run buildout within the current clone / status of the 6.0 branch. I got a working Plone environment and could run 'instance fg'. Once I went to the 'Site Setup' I got the message: 'WARNING [OFS.Uninstalled:78][waitress-0] Could not import class 'FormController' from module 'Products.CMFFormController.FormController'
If I looked into the 'Management Interface' the entry portal_form_controller' had a red sign in front of it. If I click on this entry I get a not found message.

@mauritsvanrees
Copy link
Member

Products.CMFFormController is no longer included in Plone 6. This PR is relevant and contains other relevant links: #696

If you cannot run bin/instance fg, I expect this gives you an error traceback. Can you paste that?

I suspect that you have some code that tries to import Products.CMFFormController, which is no longer there.
Is this really with the pure core development buildout? Or do you have extra code in there?

The warning should go away after you have run @@plone-upgrade.

Workaround would be to add Products.CMFFormController to the eggs. Then bin/instance fg should be able to start up again.

@andreasma
Copy link
Member Author

I created a second Plone site in that instance and everything works as expected. I got a 'Site Setup' with all the images and no warning inside the shell.
I used that git clone and buildout already within the past. I created some month ago the first Plone site. This site wasn't updated within the 'Site Setup' with the plone-upgrade tool. This site produces the messages inside the shell. I tried again with your hint above, but without any luck.

@jensens
Copy link
Member

jensens commented Aug 12, 2021

Wild guess, but sounds a bit like you created a Plone 6 dev site before and now some upgrade steps are missing? This usually happens while in an pre-alpha state. If this is the case you can go to ZMI -> portal_setup -> upgrades, select Products.CMFplone:plone, then Show old upgrades and select and execute steps added after installation time.

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

3 participants