Python 2.7.15 (default, May 4 2019, 05:46:04) [GCC 5.5.0]
PIL 5.4.1 (Pillow)
CMFPlacefulWorkflow 1.7.6
webcouturier.dropdownmenu 3.0.2
collective.mass_subscriptions 0.1.1
plone.app.iterate 3.3.10
Issue: If the page mail_password_form?userid= is used, we get the following error:
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.CMFCore.FSPythonScript, line 127, in __call__
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 16, in mail_password
- <FSPythonScript at /Plone/mail_password>
- Line 16
AttributeError: 'RequestContainer' object has no attribute 'mail_password_form'
Indeed, maybe collective.mass_subscriptions is the problem. The problem of this problem is that I needed it to perform mass subscriptions. But maybe there is direct way (without addons) of performing mass subscriptions in Plone 5.1?
I have the same problem occur when a user that I provision forgets their password and tries to use the request password form.
1559762735.950.145439626808 https://xxx.xxxx.edu/mail_password
Traceback (innermost last):
Module ZPublisher.Publish, line 138, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 48, in call_object
Module Products.CMFCore.FSPythonScript, line 127, in __call__
Module Shared.DC.Scripts.Bindings, line 322, in __call__
Module Shared.DC.Scripts.Bindings, line 359, in _bindAndExec
Module Products.PythonScripts.PythonScript, line 344, in _exec
Module script, line 16, in mail_password
- <FSPythonScript at /enc/plone/cnow/mail_password>
- Line 16
AttributeError: 'RequestContainer' object has no attribute 'mail_password_form'
Yes, I think so. I've got another trace-back this morning with the same error you have. I am querying my users to find out what they are doing. Please post the link to the ticket you open if you don't mind.
Sentry has a way to try to capture what was happening when an error occurs. I set up Sentry on sites I run in a Linode, and it captures the error stack traces plus (in theory) pops up a dialogue that lets users say what they were doing. But I don’t think anyone has ever filled one in
The link in a password reset form correctly sets user's password and when they click on the 'log in' link, it lets them enter a new password. In turn it logs them in, but displays the error msg (see screenshot). Despite the error, they are logged in.
The error log reports 'RequestContainer' object has no attribute 'mail_password_form'.