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

Remove Products.CMFFormController / portal_form_controller. #696

Closed
wants to merge 1 commit into from

Conversation

mauritsvanrees
Copy link
Member

Remove the package from the buildout files.
Use branches of CMFPlone (plone/Products.CMFPlone#3226) and plone.app.upgrade (plone/plone.app.upgrade#251).

We could also remove a CMFFormController line from plone.app.testing, but it's not in the way.
Could be done once we make a plone.app.testing branch for Plone 6 only.

In plone.app.upgrade I remove the portal_form_controller tool.
We could also conditionally remove it: check if the tool is an instance of ZODB.broken.Broken.
This is to support the theoretical case that someone explicitly adds the CMFFormController package, because it is still needed in a specific site.
But same could be done for portal_quickinstaller, and we don't do it there either.

Once green and approved, I can do the merges. The two PRs should be merged, and then on coredev we can keep using the master branches, and only merge the part of this PR that removes CMFFormController from the test-eggs and sources/versions.

Remove the package from the buildout files.
Use branches of CMFPlone and plone.app.upgrade.

We could also remove a CMFFormController line from plone.app.testing, but it's not in the way.
Could be done once we make a plone.app.testing branch for Plone 6 only.

In plone.app.upgrade I remove the portal_form_controller tool.
We could also conditionally remove it: check if the tool is an instance of `ZODB.broken.Broken`.
This is to support the theoretical case that someone explicitly adds the CMFFormController package,
because it is still needed in a specific site.
But same could be done for portal_quickinstaller, and we don't do it there either.
@jensens
Copy link
Member

jensens commented Jan 15, 2021

Removal is fine IMO, if this is an issue we can refactor later. But I do not expect it to be one.

I would say, just merge if ready, LGTM (also the connected PRs)

mauritsvanrees added a commit that referenced this pull request Jan 15, 2021
Edited from #696 after merging the CMFPlone and plone.app.upgrade PRs.
@mauritsvanrees
Copy link
Member Author

I have merged all.

@mauritsvanrees mauritsvanrees deleted the maurits/no-form-controller branch January 15, 2021 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants