Project

General

Profile

Anomalie #7247

Plantage à la génération du ldif si attribut obligatoire manquant

Added by Joël Cuissinat about 7 years ago. Updated about 7 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Category:
-
Start date:
Due date:
02/07/2014
% Done:

100%

Spent time:
Distribution:
EOLE 2.4

Description

root@thot:/usr/share/pyshared/eoleaaf# grep -B5 ENTEleveNivFormation$ attribute.py 
# Attributes for ENTEleve objectClass

ENTEleve_must = """ENTEleveStatutEleve
ENTEleveMEF
ENTEleveLibelleMEF
ENTEleveNivFormation

Traceback (most recent call last):
  File "/usr/sbin/genldif.py", line 212, in <module>
    ldif_export_all()
  File "/usr/sbin/genldif.py", line 119, in ldif_export_all
    print str(t)
  File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
    rc = getattr(self, mainMethName)()
  File "_var_lib_eole_aaf_eleve_ldif.py", line 157, in respond
NameMapper.NotFound: cannot find 'ENTEleveNivFormation'

genldif.patch View (690 Bytes) Joël Cuissinat, 01/28/2014 05:24 PM

Associated revisions

Revision c6255bd0 (diff)
Added by Gwenael Remond about 7 years ago

gestion des exceptions a la generation du ldif, Fixes #7247

Revision 2170b7de (diff)
Added by Gwenael Remond about 7 years ago

encore des gestions des exceptions a la generation du ldif, Fixes #7247

History

#1 Updated by Joël Cuissinat about 7 years ago

  • File genldif.patch added

#2 Updated by Joël Cuissinat about 7 years ago

  • File deleted (genldif.patch)

#3 Updated by Joël Cuissinat about 7 years ago

#4 Updated by Joël Cuissinat about 7 years ago

Idem pour les responsables :

Traceback (most recent call last):
  File "/usr/sbin/genldif.py", line 218, in <module>
    ldif_export_all()
  File "/usr/sbin/genldif.py", line 139, in ldif_export_all
    print str(t)
  File "/usr/lib/python2.7/dist-packages/Cheetah/Template.py", line 1005, in __str__
    rc = getattr(self, mainMethName)()
  File "_var_lib_eole_aaf_responsable_ldif.py", line 140, in respond
NameMapper.NotFound: cannot find 'ENTAuxPersRelEleveEleve'

#5 Updated by Gwenael Remond about 7 years ago

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

#7 Updated by Joël Cuissinat about 7 years ago

  • Due date set to 02/07/2014
  • Assigned To set to Gwenael Remond

#8 Updated by Joël Cuissinat about 7 years ago

  • Target version changed from Eole 2.4-RC2 to Eole 2.4-RC1

#9 Updated by Daniel Dehennin about 7 years ago

  • Status changed from Résolu to Fermé

Sur le paquet python-eoleaaf version 2.4.0-18, le LDIF est généré et on est au slapadd.

Also available in: Atom PDF