Project

General

Profile

Actions

Anomalie #833

closed

Le champ genre ne peut être désactivé

Added by Ludovic ROBLETTE over 10 years ago. Updated over 10 years ago.

Status:
Fermé
Priority:
Normal
Category:
-
Target version:
Start date:
07/03/2014
Due date:
% Done:

100%

Estimated time:
Version utilisée:

Description

J'ai tenté de rendre le champs "titre" actif en modification pour les membres en suivant les instruction de la documentation : http://galette.eu/documentation/fr/usermanual/avancee.html#modification-des-champs-inactifs

Sans succès, le champs titre reste grisé pour les membres voulant mettre à jour leur fiche.

Actions #1

Updated by Johan Cwiklinski over 10 years ago

Je ne constate pas ce problème (testé en 0.8, mais rien n'a changé de ce côté normalement).

Quel est le contenu du fichier de configuration exactement ? L'activation/la désactivation d'autres champs fonctionne ?

Actions #2

Updated by Ludovic ROBLETTE over 10 years ago

Après vérification, il y avait une erreur d'interprétation de ma part.
J'avais mis $_edit_disabled_fields au lieu de $loc_edit_disabled_fields

Par contre il me reste un problème.
Voici le contenu du fichier de configuration

$loc_disabled_fields = array(
        'id_adh' => 'disabled="disabled"',
        'date_crea_adh' => 'disabled="disabled"',
        'id_statut' => 'disabled="disabled"',
        'activite_adh' => 'disabled="disabled"',
        'bool_exempt_adh' => 'disabled="disabled"',
        'bool_admin_adh' => 'disabled="disabled"',
        'date_echeance' => 'disabled="disabled"',
        'info_adh' => 'disabled="disabled"'
    );
 $loc_edit_disabled_fields = array(
        'nom_adh' => 'disabled="disabled"',
        'prenom_adh' => 'disabled="disabled"',
        'sexe_adh' => 'disabled="disabled"'
    );
$loc_staff_edit_disabled_fields = array(
        'bool_admin_adh' => 'disabled="disabled"'
    );
$loc_adm_edit_disabled_fields = array(
        'id_adh' => 'disabled="disabled"',
        'date_echeance' => 'disabled="disabled"'
    );

En mode simple utilisateur, je peux modifier le genre (sexe : Homme, Femme) alors qu'il est déclaré Disable

Actions #3

Updated by Johan Cwiklinski over 10 years ago

  • Target version set to 0.8.0
  • Subject changed from Modification des champs inactifs ne fonctionne pas to Le champ genre ne peut être désactivé
  • Assignee set to Johan Cwiklinski
Actions #4

Updated by Johan Cwiklinski over 10 years ago

  • % Done changed from 0 to 100
  • Status changed from Nouveau to Résolu
Actions #5

Updated by Johan Cwiklinski over 10 years ago

  • Status changed from Résolu to Fermé
Actions

Also available in: Atom PDF