Project

General

Profile

Tâche #32977

Scénario #32895: Corrections liées à l'Upgrade de 2.7.2 vers 2.8.1

La variable domain_ad est en même temps auto_freeze et frozen_if_in

Added by Emmanuel GARETTE 2 months ago. Updated 28 days ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
07/20/2021
Due date:
% Done:

100%

Remaining (hours):
0.0

Description

Il n'est pas possible d'avoir en même temps auto_freeze et frozen_if_in :

root@scribe:~# python3
Python 3.8.10 (default, Jun  2 2021, 10:49:15) 
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from creole.loader import creole_loader
>>> creole_loader()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python3/dist-packages/creole/loader.py", line 830, in creole_loader
    load_config_eol(config, configfile=configfile, try_upgrade=try_upgrade,
  File "/usr/lib/python3/dist-packages/creole/loader1.py", line 325, in load_config_eol
    config_load_values(config, 'creole', force_load_owner=force_load_owner,
  File "/usr/lib/python3/dist-packages/creole/loader1.py", line 735, in config_load_values
    config_load_store(config, namespace, store,
  File "/usr/lib/python3/dist-packages/creole/loader1.py", line 713, in config_load_store
    setting[option].append('frozen')
  File "/usr/lib/python3/dist-packages/tiramisu/setting.py", line 260, in append
    self._append(propname)
  File "/usr/lib/python3/dist-packages/tiramisu/setting.py", line 265, in _append
    raise ValueError(_('cannot append {0} property for option {1}: '
ValueError: ne peut ajouter la propriété frozen dans l'option ad_domain: cette propriété est calculée
>>> 

Vu ici : https://dev-eole.ac-dijon.fr/jenkins/job/2.8.1/job/test-upgradeauto-eolead-272-2.8.1-amd64/4/parsed_console/

Associated revisions

Revision d0f260d2 (diff)
Added by Emmanuel GARETTE 2 months ago

auto_freeze met un propriété freeze, mais elle est frozen_if_in dans 27_eolead_container (#32977)

History

#1 Updated by Emmanuel GARETTE 2 months ago

  • % Done changed from 0 to 100

#2 Updated by Emmanuel GARETTE 2 months ago

  • Status changed from En cours to À valider

#3 Updated by Ludwig Seys about 1 month ago

  • Status changed from À valider to Résolu

#4 Updated by Joël Cuissinat 28 days ago

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

OK, je précise que le paquet contenant la modification (eole-ad 2.8.1-13) est déjà publié en version stable ;)

Also available in: Atom PDF