Projet

Général

Profil

Bug #7391

custom user fields empty on profile page

Ajouté par Serghei Mihai il y a presque 9 ans. Mis à jour il y a plus de 6 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
Catégorie:
-
Version cible:
Début:
27 mai 2015
Echéance:
% réalisé:

100%

Temps estimé:
Patch proposed:
Oui
Planning:

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


Fichiers

Révisions associées

Révision 6786b252 (diff)
Ajouté par Benjamin Dauvergne il y a presque 9 ans

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

Historique

#1

Mis à jour par Benjamin Dauvergne il y a presque 9 ans

  • Version cible mis à 2.2.0
#3

Mis à jour par Benjamin Dauvergne il y a presque 9 ans

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

#4

Mis à jour par Serghei Mihai il y a presque 9 ans

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

Mis à jour par Benjamin Dauvergne il y a presque 9 ans

Ok for the merge.

#7

Mis à jour par Benjamin Dauvergne il y a presque 9 ans

  • Statut changé de Nouveau à Résolu (à déployer)
  • % réalisé changé de 0 à 100
#8

Mis à jour par Benjamin Dauvergne il y a environ 8 ans

  • Statut changé de Résolu (à déployer) à Solution déployée
#9

Mis à jour par Benjamin Dauvergne il y a plus de 6 ans

  • Statut changé de Solution déployée à Fermé

Formats disponibles : Atom PDF