Skip to content

Error on @@change-password when used on subsite with url rewrite. #24

@djay

Description

@djay

If you use a domain name for your subsite then you will end up with the following error when you click on "Change Password" on the preferences page.

Traceback (innermost last):
  Module ZPublisher.Publish, line 126, in publish
  Module ZPublisher.mapply, line 77, in mapply
  Module ZPublisher.Publish, line 46, in call_object
  Module zope.formlib.form, line 795, in __call__
  Module five.formlib.formbase, line 50, in update
  Module zope.formlib.form, line 758, in update
  Module plone.fieldsets.form, line 30, in setUpWidgets
  Module zope.formlib.form, line 383, in setUpEditWidgets
TypeError: ('Could not adapt', <ATFolder at /Plone/subsite>, <InterfaceClass plone.app.users.browser.personalpreferences.IPasswordSchema>)

You can also see the error can be reproduced with a url like
http://localhost:8080/Plone/subsite/@@change-password

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions