Projet

Général

Profil

Development #29475

patch à do_logout.js local à la prod

Ajouté par Frédéric Péters il y a plus de 5 ans. Mis à jour il y a presque 2 ans.

Statut:
Rejeté
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
-
Début:
06 janvier 2019
Echéance:
% réalisé:

0%

Temps estimé:
Patch proposed:
Non
Planning:

Description

(va savoir)

--- mandayejs/do_logout.js    2017-02-12 14:19:42.224826699 +0100
+++ /tmp/do_logout.js    2019-01-06 16:20:33.196569678 +0100
@@ -67,6 +68,7 @@
     var logout = page.evaluate(function(input){
         element = input.logout_locator;
         var logout_link = $(element).length > 0 ? $(element)[0] : $(element);
+        return $(logout_link).length;
         if ($(logout_link).length > 0){
             logout_link.click();
             return true;
@@ -76,6 +78,7 @@

     if (logout == false){
         output['result'] = 'logout failed';
-        mandaye_exit(JSON.stringify(output));
     }
+    output['logout_link_length'] = logout
+    mandaye_exit(JSON.stringify(output));
 });

Historique

#1

Mis à jour par Serghei Mihai il y a plus de 5 ans

Pas d'idée. A flinguer.

#2

Mis à jour par Frédéric Péters il y a presque 2 ans

  • Statut changé de Nouveau à Rejeté

Formats disponibles : Atom PDF