4-5-3 - plus de champ titre et message

Test effectué sur les actions des plugins mode et frigate.
Test effectué sur Debian 11 et 12.

Jeedom 4.5.2 :

Ici donc utilisation d’une commande action sous-type message, aucun problème en 4.5.2

Jeedom 4.5.3 :

Les champs titre et message ont disparus.

Erreur MySQL :

[MySQL] Error code : HY000 (1273). Unknown collation: 'utf8mb4_0900_ai_ci' : SELECT c.id, c.logicalId, c.generic_type, c.eqType, c.name, c.order, c.type, c.subType, c.eqLogic_id, c.isHistorized, c.unite, c.configuration, c.template, c.display, c.value, c.isVisible, c.alert FROM cmd c INNER JOIN eqLogic el ON c.eqLogic_id=el.id INNER JOIN object ob ON el.object_id=ob.id WHERE c.name COLLATE utf8mb4_0900_ai_ci =:cmd_name AND el.name COLLATE utf8mb4_0900_ai_ci =:eqLogic_name AND ob.name COLLATE utf8mb4_0900_ai_ci = :object_name #0 /var/www/html/core/class/cmd.class.php(554): DB::Prepare() #1 /var/www/html/core/class/cmd.class.php(665): cmd::byObjectNameEqLogicNameCmdName() #2 /var/www/html/core/class/cmd.class.php(646): cmd::humanReadableToCmd() #3 /var/www/html/core/class/cmd.class.php(646): cmd::humanReadableToCmd() #4 /var/www/html/core/class/cmd.class.php(646): cmd::humanReadableToCmd() #5 /var/www/html/core/class/cmd.class.php(646): cmd::humanReadableToCmd() #6 /var/www/html/core/class/cmd.class.php(646): cmd::humanReadableToCmd() #7 /var/www/html/core/class/cmd.class.php(646): cmd::humanReadableToCmd() #8 /var/www/html/core/class/jeedom.class.php(1403): cmd::humanReadableToCmd() #9 /var/www/html/core/ajax/eqLogic.ajax.php(570): jeedom::fromHumanReadable() #10 {main}

Salut,

Même problème, j’ai remonté ca hier: Try to ignore case and accent for function fromHumanReadable by zoic21 · Pull Request #3159 · jeedom/core · GitHub

j’ai rollback le changement en question sur ma dev et ca fonctionne à nouveau

OK, j’ai rollback et c’est ok aussi.

Pour information j’ai effectué les tests sur 3 machines :

J’ai testé sur ma prod :
10.5.29-MariaDB-0+deb11u1 => Erreur

sur une dev:
10.11.11-MariaDB-0+deb12u1 => Erreur

Sur une alpha deb13
11.8.3-MariaDB-0+deb13u1 from Debian => OK

J’ai créé une issue: [BUG] Error code : HY000 (1273). Unknown collation: 'utf8mb4_0900_ai_ci' · Issue #3199 · jeedom/core · GitHub
et fait un PR: rollback: remove collation from SQL queries in cmd and scenario classes by Mips2648 · Pull Request #3200 · jeedom/core · GitHub

mais comme je ne comprend pas ce qu’on a voulu corriger (l’origine) en ajoutant cette syntaxe collate, je peux imaginer que le rollback va à nouveau provoquer le soucis d’origine.