-
-
Notifications
You must be signed in to change notification settings - Fork 196
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
Creating a new 5.1-pending site with policy package -> aborting transaction due to no CSRF protection #2316
Comments
Plone itself installs perfectly without the policy package. Installing the policy later through Plone also does not show any installation related issues. |
Is the site itself created successfully at this point? |
The site is created (correctly). However the CSRF warning is weird here. |
…ra profiles. This avoids errors in some cases when selecting add-ons in the advanced Plone Site add form, where installing them right after site creation in the add-ons control panel goes fine. Fixes #2316
…ra profiles. This avoids errors in some cases when selecting add-ons in the advanced Plone Site add form, where installing them right after site creation in the add-ons control panel goes fine. Fixes #2316
Branch: refs/heads/master Date: 2018-05-14T08:52:26+02:00 Author: Maurits van Rees (mauritsvanrees) <maurits@vanrees.org> Commit: plone/Products.CMFPlone@4be00d0 When adding a Plone Site, do a transaction commit before applying extra profiles. This avoids errors in some cases when selecting add-ons in the advanced Plone Site add form, where installing them right after site creation in the add-ons control panel goes fine. Fixes plone/Products.CMFPlone#2316 Files changed: M CHANGES.rst M Products/CMFPlone/factory.py Repository: Products.CMFPlone Branch: refs/heads/master Date: 2018-05-14T11:17:21+02:00 Author: Jens W. Klein (jensens) <jk@kleinundpartner.at> Commit: plone/Products.CMFPlone@491e0eb Merge pull request #2410 from plone/add-plonesite-commit-before-applying-profiles-master Add Plone Site: do a transaction commit before profiles Files changed: M CHANGES.rst M Products/CMFPlone/factory.py
…ra profiles. This avoids errors in some cases when selecting add-ons in the advanced Plone Site add form, where installing them right after site creation in the add-ons control panel goes fine. Fixes #2316
Creating a new Plone 5.1-pending site with a simple policy package and these dependencies (the dependencies are irrelevant since I can reproduce the error with plone.app.dexterity as single dependency too)
causes this error
The text was updated successfully, but these errors were encountered: