Project

General

Profile

Bug #7391

custom user fields empty on profile page

Added by Serghei Mihai about 4 years ago. Updated over 1 year ago.

Status:
Fermé
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
27 May 2015
Due date:
% Done:

100%

Patch proposed:
Yes
Planning:
No

Description

Even if in database there is a value for a custom field, the profile form shows it empty and doesn't save the new entered value

0001-forms-if-not-form-class-is-given-to-modelform_factor.patch View (2.67 KB) Benjamin Dauvergne, 27 May 2015 08:05 PM

0001-tests-user-profile-edit-with-custom-attributes-7391.patch View (2.93 KB) Serghei Mihai, 28 May 2015 05:01 PM

0001-forms-if-not-form-class-is-given-to-modelform_factor.patch View (5.32 KB) Serghei Mihai, 29 May 2015 11:53 AM

Associated revisions

Revision 6786b252 (diff)
Added by Benjamin Dauvergne about 4 years ago

forms: if not form class is given to modelform_factory() on User model, user BaseUserForm (fixes #7391)

Building of the base classe tuple has been refactoed.

Bug introduced in 7141a96e6

History

#1 Updated by Benjamin Dauvergne about 4 years ago

  • Target version set to 2.2.0

#3 Updated by Benjamin Dauvergne about 4 years ago

Serghei, to finish you could add a test for the profile edit page.

#4 Updated by Serghei Mihai about 4 years ago

Here is a test checking the editing of custom fields.

It should be merged with the one proposed in #7386. I can manage that

#5 Updated by Benjamin Dauvergne about 4 years ago

Ok for the merge.

#6 Updated by Serghei Mihai about 4 years ago

One patch combining the two previous

#7 Updated by Benjamin Dauvergne about 4 years ago

  • Status changed from Nouveau to Résolu (à déployer)
  • % Done changed from 0 to 100

#8 Updated by Benjamin Dauvergne over 3 years ago

  • Status changed from Résolu (à déployer) to Solution déployée

#9 Updated by Benjamin Dauvergne over 1 year ago

  • Status changed from Solution déployée to Fermé

Also available in: Atom PDF