-
Notifications
You must be signed in to change notification settings - Fork 21
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
version 5.1.1 is broken when attempting to change password in /@@change-password #55
Comments
The real change in 6.0.0 was in a80db7d. That was done because it was needed in combination with a newer I am pretty sure changing a password works in standard Plone 4.3. I tried it in the core development buildout:
Are you doing anything different? |
I'm upgrading from Plone 3.x to 4.x. I'm using the following version pin -- https://dist.plone.org/release/4.3-latest/versions.cfg. Maybe this is causing the problem. I had several issues with auth, this one in particular seemed to be caused because I previously changed the password through ZMI, and apparently it uses different auth/encryption plugin service than @@change-password url. This doesn't affect all users, only the users who changed pass through zmi. At this point I'm For this particular problem I used monkeypatch in configure.zcml to add a workaround that doesn't call the missing getUserId method.
Then added new definition of authentication credentials.
|
Expected:
Change password when entering new password under /@@change-password
Occurred:
The following traceback
The code in question is on the following line -- https://github.com/plone/Products.PlonePAS/blob/5.1.1/src/Products/PlonePAS/tools/membership.py#L566
There was a fix for this introduced in Products.PlonePAS 6.0.0 -- 368a312
But the dependencies for version 6.0.0 require upgrade to Plone 5, (I'm running Plone 4.3 with sunburst theme, so it is not feasible at this point).
Is it possible to backport the fix into 5.x tree and release it as 5.1.2, or at least add a definition for getUserId method -- https://github.com/plone/Products.PlonePAS/blob/master/src/Products/PlonePAS/tools/memberdata.py#L466
The text was updated successfully, but these errors were encountered: