Project

General

Profile

Tâche #25095

Scénario #25008: Traitement express MEN (41-43)

Creole devrait signaler si un extra désactive une autre action que celle édité

Added by Emmanuel GARETTE about 2 years ago. Updated almost 2 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
06/25/2018
Due date:
% Done:

100%

Estimated time:
1.00 h
Spent time:
Remaining (hours):
0.0

Associated revisions

Revision 2c4c185b (diff)
Added by Emmanuel GARETTE almost 2 years ago

Les actions ne peuvent redéfinir des services/files/... d'autres actions (ref #25095)

Revision 8f174ca3 (diff)
Added by Benjamin Bohard almost 2 years ago

Dédupliquer les noms des actionlist dans les dictionnaires extra

Ref #25095

History

#1 Updated by Scrum Master about 2 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Scrum Master about 2 years ago

  • Assigned To set to Emmanuel GARETTE

#3 Updated by Joël Cuissinat almost 2 years ago

  • Subject changed from Creole devrait signalisé si un extra désactive une autre action que celle édité to Creole devrait signaler si un extra désactive une autre action que celle édité

#4 Updated by Joël Cuissinat almost 2 years ago

  • Parent task changed from #24651 to #25008

#5 Updated by Scrum Master almost 2 years ago

  • Status changed from En cours to Résolu

#6 Updated by Emmanuel GARETTE almost 2 years ago

  • % Done changed from 0 to 100
  • Estimated time set to 1.00 h
  • Remaining (hours) set to 1.0

#7 Updated by Daniel Dehennin almost 2 years ago

  • Status changed from Résolu to En cours

#8 Updated by Daniel Dehennin almost 2 years ago

Je réouvre car creoled ne fonctionne pas ce matin sur mon scribe etb1 :

root@scribe:~# creoled --debug
creoled - Chargement de la configuration tiramisu
creoled - Set umask to 0022
creoled - Impossible de charger la configuration Creole.several actions have actionlist with same name bareos
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/creole/server.py", line 190, in reload_config
    try_upgrade=False)
  File "/usr/lib/python2.7/dist-packages/creole/loader.py", line 804, in creole_loader
    eolobj.space_visitor()
  File "/usr/lib/python2.7/dist-packages/creole/objspace.py", line 461, in space_visitor
    SpaceAnnotator(self.space, self.paths, self)
  File "/usr/lib/python2.7/dist-packages/creole/annotator.py", line 872, in __init__
    self.filter_condition(space.constraints.condition)
  File "/usr/lib/python2.7/dist-packages/creole/annotator.py", line 1626, in filter_condition
    self.filter_target(condition, namespace)
  File "/usr/lib/python2.7/dist-packages/creole/annotator.py", line 1523, in filter_target
    raise CreoleDictConsistencyError(_('several actions have actionlist with same name {}').format(target.name))
CreoleDictConsistencyError: several actions have actionlist with same name bareos

#9 Updated by Benjamin Bohard almost 2 years ago

En fait, Creole fonctionne plutôt mieux puisqu’il signale une erreur présente dans les dictionnaires extra des actions liées à Bareos.

#10 Updated by Scrum Master almost 2 years ago

  • Status changed from En cours to Résolu

#11 Updated by Joël Cuissinat almost 2 years ago

  • Status changed from Résolu to Fermé
  • Remaining (hours) changed from 1.0 to 0.0

Non testé mais ça semble avoir été utile :)

Also available in: Atom PDF