Anomalie #1181
closedSupprimer "Administrateur Galette" et "Exempt de cotisation"
100%
Description
Bonjour,
Un grand merci pour ce projet Galette que nous sommes en train de tester pour notre association :)
J'en profite pour vous faire remonter les quelques bugs relevés :
Quand un admin coche les champs "Administrateur Galette" et "Exempt de cotisation" puis valide la fiche de l'adhérent, il devient impossible de supprimer ces attributions malgré le message "Le compte de l’adhérent a été modifié avec succès." Le membre reste Administrateur et Exempt de cotisation.
Par ailleurs, si le champs "titre" est masqué dans la config (page "Champs du Cœur", si je veux supprimer les droits "administrateur", j'ai l'erreur suivante à la validation (pas testé pour "Exempt de cotisation") :
Détails
Type : ErrorException
Code : 8
Message : Notice: Object of class Galette\Entity\Title could not be converted to int
Fichier : /home/randonner/dev/galette/galette/lib/Galette/Entity/Adherent.php
Ligne : 1014
Infos
Galette version: v0.9.1.1
PHP version: 7.0.27
PHP/Web: cgi-fcgi
Database: mysql
OS: Linux webm300.90.ha.ovh.net 4.14.19-ovh-vps-grsec-zfs-classid #1 SMP Thu Feb 15 06:51:19 CET 2018 x86_64
Browser: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:60.0) Gecko/20100101 Firefox/60.0
Files
Updated by Johan Cwiklinski over 5 years ago
- Related to Anomalie #1154: Champs réinitialisés lors de modification de fiche added
Updated by Johan Cwiklinski over 5 years ago
- File 0001-Title-may-be-already-instanciated-refs-1181.patch 0001-Title-may-be-already-instanciated-refs-1181.patch added
- File 0002-Uncheckd-booleans-are-not-sent-from-form-fixes-1181.patch 0002-Uncheckd-booleans-are-not-sent-from-form-fixes-1181.patch added
- Category set to Core
- Status changed from Nouveau to In Progress
- Assignee set to Johan Cwiklinski
Ci-joint les correctifs proposés qu'il faudrait tester.
Je n'ai pas reproduit le souci sur le champ titre, mais ça devrait être corrigé par le premier patch.
Updated by Johan Cwiklinski over 5 years ago
- Status changed from In Progress to Résolu
- % Done changed from 0 to 100
Appliqué par commit 1bea1a9af6e2203b4e3ff996df02b9385a61ea5a.
Updated by Johan Cwiklinski over 5 years ago
- Status changed from Résolu to Fermé
- Target version set to 0.9.2
Updated by Johan Cwiklinski over 5 years ago
- Target version changed from 0.9.2 to 0.9.1.2