Project

General

Profile

Tâche #11582

Scénario #10841: Migration des variables Envole 2.3 -> Envole4

Gérer la migration des variables alias_envole et force_envole

Added by Joël Cuissinat almost 6 years ago. Updated almost 6 years ago.

Status:
Fermé
Priority:
Normal
Assigned To:
Start date:
05/11/2015
Due date:
% Done:

100%

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

Description

alias_envole et force_envole définissent l'application par défaut mais lors d'une migration vers 2.4 (par zephir) seul web_redirection est pris en compte peut importe la valeur de alias_envole et force_envole

Associated revisions

Revision b83f88b6 (diff)
Added by Emmanuel GARETTE almost 6 years ago

migration de la variable alias_envole (ref #11582 @1h)

Revision d991d69f (diff)
Added by Joël Cuissinat almost 6 years ago

Test unitaire validant la migration de "alias_envole"

Ref: #11582 @20m [EOLE >= 2.4.2]

Revision f82db58c (diff)
Added by Joël Cuissinat almost 6 years ago

Correction config pour test "test_upgrade_force_envole"

  • tests/configs/envole.eol : le test échoue sur les modules où activer_web
    est à non par défaut

Ref: #11582 @10m [EOLE >= 2.4.2]

History

#1 Updated by Emmanuel GARETTE almost 6 years ago

  • Status changed from Nouveau to En cours

#2 Updated by Emmanuel GARETTE almost 6 years ago

  • Assigned To set to Emmanuel GARETTE

#3 Updated by Emmanuel GARETTE almost 6 years ago

Ancien "algo" :

if %%is_defined('activer_envole') and %%activer_envole == 'oui' and %%is_defined('force_envole') and %%force_envole == 'oui'
    %if %%alias_envole != '/'
        RewriteRule ^/$ %%alias_envole [R=permanent]
    %end if
%elif %%web_redirection != '/'
    RewriteRule ^/$ %%web_redirection [R=permanent]
%end if

#4 Updated by Emmanuel GARETTE almost 6 years ago

  • % Done changed from 0 to 100
  • Remaining (hours) changed from 4.0 to 0.25

#5 Updated by Scrum Master almost 6 years ago

  • Status changed from En cours to Résolu

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

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

#7 Updated by Joël Cuissinat almost 6 years ago

Validé par test unitaire

Also available in: Atom PDF