Tâche #16876
Distribution EOLE - Scénario #16778: Gestion des paquets candidats en cours (28-35)
Problème d'importation sur scribe depuis sconet (attribut NOM_DE_FAMILLE)
Description
Bonjour,
Nous avons rencontré des problèmes d'importation sur nos serveurs scribe/amonecole.
L'importation se fait depuis les fichiers xml générés par sconet/siecle.
En comparant les fichiers xml généré l'an passé et ceux de cette année, il semblerait y avoir un changement dans la nomenclature. L'année passée, le champ correspondant au nom de l'élève s'intitulait "NOM" alors que cette année il s'intitule "NOM_DE_FAMILLE".
Pour contourner le problème, nous avons modifier le mappage dans le script d'importation sconet.py
mapping = {'nom':'NOM_DE_FAMILLE',
'prenom':'PRENOM',
'date':'DATE_NAISS',
'civilite':'CODE_SEXE',
'numero':'ELENOET',
'ine':'ID_NATIONAL',
'prenom2':'PRENOM2',
'regime':'CODE_REGIME',
}
mapping = {'nom':'NOM_DE_FAMILLE',
'prenom':'PRENOM',
'mail':'MEL',
'telephone':'TEL_PERSONNEL',
'civilite':'LC_CIVILITE',
'id_adresse':'ADRESSE_ID',
'tel_portable':'TEL_PORTABLE',
'tel_pro':'TEL_PROFESSIONNEL',
}
Les tests ont été réalisés avec succès sur Amonecole 2.3 et scribe 2.3.
Bien que la version 2.3 ne soit plus maintenue, cette modification sera t-elle tout même déployé?
Cordialement,
Associated revisions
Support du nouvel attribut Sconet : NOM_DE_FAMILLE
Ref: #16876 @2h
History
#1 Updated by Scrum Master over 6 years ago
- Project changed from Scribe to scribe-backend
- Estimated time set to 2.00 h
- Parent task set to #16801
#2 Updated by Scrum Master over 6 years ago
- Parent task deleted (
#16801) - Remaining (hours) set to 2.0
#3 Updated by Scrum Master over 6 years ago
- Parent task set to #16778
#4 Updated by Joël Cuissinat over 6 years ago
- Description updated (diff)
- Assigned To set to Joël Cuissinat
#5 Updated by Joël Cuissinat over 6 years ago
- Status changed from Nouveau to En cours
#6 Updated by Joël Cuissinat over 6 years ago
- % Done changed from 0 to 100
- Remaining (hours) changed from 2.0 to 0.5
=> Paquets candidats réalisés pour 2.4.0, 2.4.1, 2.4.2, 2.5.1, 2.5.2 et 2.6.0.
#7 Updated by Joël Cuissinat over 6 years ago
- Subject changed from Problème d'importation sur scribe depuis sconet to Problème d'importation sur scribe depuis sconet (attribut NOM_DE_FAMILLE)
#8 Updated by Scrum Master over 6 years ago
- Status changed from En cours to Résolu
#9 Updated by Joël Cuissinat over 6 years ago
- Status changed from Résolu to Fermé
- Remaining (hours) changed from 0.5 to 0.0