Ticket #10258 (closed Bug: fixed)

Opened 6 years ago

Last modified 5 years ago

user data / preferences forms do not yet use fields from IUserDataSchemaProvider

Reported by: khink Owned by: khink
Priority: minor Milestone: 4.0
Component: General Version:
Keywords: Cc: hink@…

Description

As a follow-up to #9898:

When a user goes to "Personal information", the form is based on plone.app.users' default UserDataSchema. It should use the schema provided by IUserDataSchemaProvider.

To see what i mean, install collective.examples.userdata. The registration form will be modified, but the user-editable fields will not be.

Change History

comment:2 Changed 6 years ago by khink

(In [34342]) development buildout, refs #10258

comment:3 Changed 6 years ago by khink

(In [34343]) refs #10258: New @@personal-information form, uses new class PersonalInformation based on PageForm. Added docs/TODO.txt

comment:4 Changed 5 years ago by esteele

Kees, where do we stand on this one?

comment:5 Changed 5 years ago by khink

  • Cc hink@… added
  • Component changed from Unknown to Infrastructure

No progress yet. I guess i could use some help, to get me going. I'll post about it on the plone-developers mailing list.

comment:6 Changed 5 years ago by khink

(In [35904]) add new branch for different approach, refs #10258

comment:7 Changed 5 years ago by khink

(In [35905]) Define 'implements'/'adapts' statements in zcml to allow overriding, refs #10258

comment:8 Changed 5 years ago by khink

In https://dev.plone.org/plone/changeset/36025/plone.app.users/branches/ticket-10258-override-adapter/plone : Take schema from utility, instead of from this package. This change causes Zope to refuse starting up, but works when re-loading code in an already running instance.

comment:9 Changed 5 years ago by khink

(In [36033]) Load the UserDataSchema at view time (because doing getUtility for IUserDataSchemaProvider fails at startup time), refs #10258

comment:10 Changed 5 years ago by khink

(In [36034]) Merge branches/ticket-10258-override-adapter [35904:36033] into trunk (refs #10258).

comment:11 Changed 5 years ago by khink

(In [36035]) Update CHANGES (refs #10258)

comment:12 Changed 5 years ago by khink

  • Status changed from new to closed
  • Resolution set to fixed

Done, ready for release.

comment:13 Changed 3 years ago by davisagli

  • Component changed from Infrastructure to General
Note: See TracTickets for help on using tickets.