4teamwork / ftw.inflator

Plone site setup wizard with content creation and bundle system for predefined configurations.
3 stars 6 forks source link

Fails with plone.protect 3.0.18 installed #31

Open hvelarde opened 8 years ago

hvelarde commented 8 years ago

Plone 4.3.10, plone.protect 3.0.18 and ftw.inflator 1.8.1; the following configuration fails with a Forbidden exception:

  <inflator:bundle
      title="Portal SMDU"
      description="Installs and configures the portal."
      profiles="smdu.portal:default"
      />
2016-09-16 16:44:48 ERROR plone.protect Error checking for CSRF. Transaction will be aborted since the request is now unsafe:
Traceback (most recent call last):
  File "/home/hvelarde/.buildout/eggs/plone.protect-3.0.18-py2.7.egg/plone/protect/auto.py", line 177, in check
    return self._check()
  File "/home/hvelarde/.buildout/eggs/plone.protect-3.0.18-py2.7.egg/plone/protect/auto.py", line 201, in _check
    check(self.request, manager=self.key_manager)
  File "/home/hvelarde/.buildout/eggs/plone.protect-3.0.18-py2.7.egg/plone/protect/authenticator.py", line 113, in check
    raise Forbidden('Form authenticator is invalid.')
Forbidden: Form authenticator is invalid.

2016-09-16 16:44:48 ERROR plone.transformchain Unexpected error whilst trying to apply transform chain
Traceback (most recent call last):
  File "/home/hvelarde/.buildout/eggs/plone.transformchain-1.2.0-py2.7.egg/plone/transformchain/transformer.py", line 49, in __call__
    newResult = handler.transformIterable(result, encoding)
  File "/home/hvelarde/.buildout/eggs/plone.protect-3.0.18-py2.7.egg/plone/protect/auto.py", line 158, in transformIterable
    if not self.check():
  File "/home/hvelarde/.buildout/eggs/plone.protect-3.0.18-py2.7.egg/plone/protect/auto.py", line 177, in check
    return self._check()
  File "/home/hvelarde/.buildout/eggs/plone.protect-3.0.18-py2.7.egg/plone/protect/auto.py", line 201, in _check
    check(self.request, manager=self.key_manager)
  File "/home/hvelarde/.buildout/eggs/plone.protect-3.0.18-py2.7.egg/plone/protect/authenticator.py", line 113, in check
    raise Forbidden('Form authenticator is invalid.')