[formidable_participation] 5 commits

spip-contrib-extensions/formidable_participation | 5 commits

Par Maïeul Rouquette, le 1er avril 2022 à 13h26min :

Il y a un bug dans spip (#5112 - Les préfixes de table ne sont pas ajustés dans les clause WHERE - spip - SPIP on GIT).
Les préfixes des tables ne sont pas corrigées dans les clause WHERE (en
cas de requete sur jointure).
On contourne cela avant que le problème dans SPIP soit résolue (cela n’a
pas l’air simple du tout du peu que j’ai pu regardé…).
Résoud un problème signalé ici
Formulaire de participation à un évènement avec Formidable - SPIP-Contrib

Modifié
formidableparticipation_pipelines.php

Détails : Il y a un bug dans spip (https://git.spip.net/spip/spip/issues/5112). · ae8add6783 - formidable_participation - SPIP on GIT

==============================
Par Maïeul Rouquette, le 1er avril 2022 à 13h36min :

code inutile

Modifié
traiter/participation.php

Détails : code inutile · f4c3af6e35 - formidable_participation - SPIP on GIT

==============================
Par Maïeul Rouquette, le 1er avril 2022 à 13h37min :

Pour rechercher les traitements/saisies d’un formulaire, ne pas
unserializer directement les champs traitements/saisies de
spip_formulaires, mais passer par $tenter_unserialize.

Cela permettra, lorsque la serialization de ces champs sera en json et
pas en php, d’avoir automatiquement la bonne deserialization (il suffira
de modifier dans le code de formidable le filtre tenter_unserialize).
Cf. #99 - Passer de serialisation à json_encode - formidable - SPIP on GIT

Modifié
formidableparticipation_administrations.php
formidableparticipation_pipelines.php

Détails : Pour rechercher les traitements/saisies d'un formulaire, ne pas · 846e805801 - formidable_participation - SPIP on GIT

==============================
Par Maïeul Rouquette, le 1er avril 2022 à 13h42min :

up de z

Modifié
paquet.xml

Détails : up de z · 9a256a692f - formidable_participation - SPIP on GIT

==============================
Par Maïeul Rouquette, le 1er avril 2022 à 13h51min :

On en a profité pour testé sous spip 4.1, ca marche.
Note à l’heure actuelle, formidable n’est pas marqué comme
compatible 4.1, car je n’ai pas pu faire un test exhaustif de tout ce
que fait formidable. Mais par contre formidable_participation, lui, a
bien été testé en 4.1.

Modifié
paquet.xml

Détails : On en a profité pour testé sous spip 4.1, ca marche. · 8e0e6d2b7c - formidable_participation - SPIP on GIT