Project

General

Profile

Anomalie #30705

corriger le tempalte posh-profil en 2.8.0

Added by Gilles Grandgérard about 3 years ago. Updated almost 3 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Target version:
Start date:
Due date:
% Done:

0%

Distribution:

Description

portage python3 ?

       Erreur lors de l'instanciation du template de /usr/share/eole/db/posh-profil/updates/posh-profil-update1.sql : '>=' not supported between instances of 'str' and 'int'
       Erreur lors de l'instanciation du template de /usr/share/eole/db/posh-profil/updates/posh-profil-update1.sql : '>=' not supported between instances of 'str' and 'int'

cf.: https://dev-eole.ac-dijon.fr/jenkins/job/2.8.0/job/test-importation-envole-2.8.0-amd64/lastFailedBuild/console

Associated revisions

Revision b2c2e113 (diff)
Added by Arnaud FORNEROT almost 3 years ago

suppresion aux référence à moodle_version (ref #30705)

History

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

  • Tracker changed from Scénario to Evolution
  • Project changed from Distribution EOLE to posh-profil

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

Dans le cas où posh-profil et eole-moodle-update sont installés sur le module, il y a des tests sur la version de Moodle :

%if %%is_defined('activer_moodle') and %%activer_moodle == 'oui' and %%is_defined('moodle_version') and %%moodle_version >= 25

Pour corriger, on peut remplacer :

%%moodle_version

par :
%%int(%%moodle_version)

Cette solution fonctionnera sur les versions antérieures d'EOLE :)

Il y a également une occurrence à corriger dans le fichier : /usr/share/eole/creole/distrib/posh-profil-synchronisation.sh

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

  • Assigned To set to Arnaud FORNEROT

#4 Updated by Arnaud FORNEROT almost 3 years ago

  • Tracker changed from Evolution to Anomalie
  • Status changed from Nouveau to Résolu
  • Target version set to Envole 5.20

#5 Updated by Arnaud FORNEROT almost 3 years ago

  • Target version changed from Envole 5.20 to Envole 5.21

#6 Updated by Arnaud FORNEROT almost 3 years ago

  • Status changed from Résolu to Fermé

Also available in: Atom PDF