Project

General

Profile

Tâche #7012

Scénario #13523: La suppression des classes et des niveaux en mode multi-établissement est possible, la suppression d'un établissement doit être conditionnée

Suppression classes AmonÉcole multi-établissement

Added by Vincent Febvre over 6 years ago. Updated almost 5 years ago.

Status:
Nouveau
Priority:
Normal
Assigned To:
-
Target version:
-
Start date:
10/12/2015
Due date:
% Done:

0%

Estimated time:
1.00 h
Remaining (hours):
1.0

Description

Tests effectué sur un AmonÉcole 2.3 multi-établissement.

Lorsque que l'on souhaite supprimer un groupe depuis l'EAD : Recherche de groupe -> Supprimer ce groupe -> Voulez-vous également supprimer les répertoires associés aux partages du groupe 'xxxxxxxxxx' -> Valider
Rien ne se passe, on reste sur la page "Gestion des groupes" sans aucune information de confirmation de suppression du groupe ou autre.

Si on regarde dans les logs de ead-server.log, on a le traceback suivant :

2014/01/09 11:25:44 CET [HTTPChannel,5611,127.0.0.1] Execution of : <scribe_group_delete> by <admin> from frontend <localhost.localdomain> (127.0.0.1)
2014/01/09 11:25:45 CET [HTTPChannel,5611,127.0.0.1] "Erreur dans group.py : Erreur de suppression du groupe profs-xxxxxxxx : /usr/sbin/smbldap-groupdel: group profs-xxxxxxxx doesn't exist\n" 
2014/01/09 11:25:45 CET [HTTPChannel,5611,127.0.0.1] Unhandled Error
    Traceback (most recent call last):
      File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 224, in addCallback
        callbackKeywords=kw)
      File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 213, in addCallbacks
        self._runCallbacks()
      File "/usr/lib/python2.6/dist-packages/twisted/internet/defer.py", line 371, in _runCallbacks
        self.result = callback(self.result, *args, **kw)
      File "/usr/share/ead2/backend/lib/execute_wrapper.py", line 18, in wrapper
        return func(self)
    --- <exception caught here> ---
      File "/usr/share/ead2/backend/actions/scribe/groupdelete.py", line 67, in execute
        datas = self._valid_form()
      File "/usr/share/ead2/backend/actions/scribe/groupdelete.py", line 123, in _valid_form
        ldapgroup._delete(todel, rmdir=del_share, sync=True)
      File "/usr/lib/pymodules/python2.6/scribe/eolegroup.py", line 491, in _delete
        self._delete_classe(name, rmdir)
      File "/usr/lib/pymodules/python2.6/scribe/eolegroup.py", line 560, in _delete_classe
        self._delete("profs-%s" % name, rmdir=rmdir, sync=False)
      File "/usr/lib/pymodules/python2.6/scribe/eolegroup.py", line 497, in _delete
        self._delete_group(name)
      File "/usr/lib/pymodules/python2.6/scribe/eolegroup.py", line 543, in _delete_group
        raise Exception, "Erreur de suppression du groupe %s : %s" % (name, ''.join(res[1:]))
    exceptions.Exception: Erreur de suppression du groupe profs-xxxxxxxx : /usr/sbin/smbldap-groupdel: group profs-xxxxxxxx doesn't exist

History

#1 Updated by Joël Cuissinat over 6 years ago

  • Project changed from AmonEcole to scribe-backend
  • Status changed from Nouveau to A étudier
  • Target version set to Mises à jour 2.3.12
  • Estimated time set to 1.00 h

#2 Updated by Luc Bourdot over 6 years ago

  • Target version changed from Mises à jour 2.3.12 to Mises à jour 2.3.13

#3 Updated by Joël Cuissinat over 6 years ago

  • Target version deleted (Mises à jour 2.3.13)

#4 Updated by Emmanuel GARETTE almost 5 years ago

  • Tracker changed from Anomalie to Tâche
  • Start date set to 10/12/2015
  • Parent task set to #13523
  • Remaining (hours) set to 1.0

#5 Updated by Emmanuel GARETTE almost 5 years ago

  • Parent task deleted (#13523)

#6 Updated by Emmanuel GARETTE almost 5 years ago

  • Tracker changed from Tâche to Anomalie
  • Status changed from A étudier to Nouveau

#7 Updated by Emmanuel GARETTE almost 5 years ago

  • Tracker changed from Anomalie to Tâche
  • Parent task set to #13523

Also available in: Atom PDF