Dolibarr ERP & CRM » Bugs » bug #1604 When a member is created, the birthday is not recorded.Dernières modifications
Répondre
État Détails |
Submitted by: | Xebax | | Submitted on: | 20/09/2014 23:14 |
Last Modified On: | 01/10/2014 21:53 | |
Summary: | When a member is created, the birthday is not recorded. |
Description: | Lorsque l'on crée un nouvel adhérent et que l'on renseigne sa date de naissance, celle-ci n'est pas enregistrée. Par contre cela fonctionne lorsque l'on modifie un adhérent.
Je joins un patch qui corrige le bug (à vérifier, je n'ai jamais touché au code de Dolibarr). |
Step to reproduce bug: | Open the Members module.
Click on "New member" on the menu on the left.
Fill all the mandatory fields.
Fill the "Birthday" field.
Click on "Add member".
-> The member is created but the "Birthday" field is empty. |
Detected in version: | 3.6.0 | | Category: | Module: Members |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | 5.4.4 | | Database type and version: | |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Aucun | |
Commentaires- Xebax 01/10/2014 22:10
- I'm sorry, I mixed two fixes (this one + bug #1610) in one pull request. That was not my intention but I'm new to Git and I don't know how to handle such a case.
- Xebax 01/10/2014 21:53
- I have submitted a pull request on GitHUb : https://github.com/Dolibarr/dolibarr/pull/1932
The pull request is for the develop branch and the file that is modified is htdocs/adherents/card.php.
But the bug exists also in the version 3.6.0 and in this version, the file is htdocs/adherents/fiche.php. I don't know if I must submit another pull request for the 3.6 branch. - Xebax 21/09/2014 20:30
- Oh sorry, here is the english version:
Summary: When a member is created, the birthday is not recorded.
Description:
When a new member is created and its birthday is filled, the birthday is not recorded. However this works when a member is modified.
I attach a patch which fixes the bug but this must be reviewed/checked because I never modified the source code of Dolibarr.
Steps to reproduce the bug:
Open the Members module.
Click on "New member" on the menu on the left.
Fill all the mandatory fields.
Fill the "Birthday" field.
Click on "Add member".
-> The member is created but the "Birthday" field is empty. - Marcos García 21/09/2014 18:39
- Would you mind translating the bug report to English?
|
|