Actions
Bug #5311
closedKonflikt zwischen zwei SQL aus zwei Form-Elementen
Start date:
29.01.2018
Due date:
% Done:
0%
Estimated time:
Discuss:
Prio Planung:
Vote:
Description
Ich habe ein Formular mit diversen FE. Die Relevanten beiden sind wohl:
1) Bild:
name: title_img
class: native
Type: note
order: 35
Value:
#!report 10.sql = SELECT CONCAT("php -f /var/www/htdocs/tmp/gen_pdf.php '", title_of_thesis, "' '", shortname, "'") AS _exec FROM phd_graduation WHERE shortname='{{shortname}}'
2) Extra-Feld:
name: title_hash_extra
class: native
type: extra
order: 100
value:
{{ SELECT MD5({{title_of_thesis:F}}) }}
(Das Forumlar funktioniert nicht, ich kann mein Ziel aber mit einem Action-Element erreichen).
Der Bug ist hier ist aber was anderes. Irgendwo mischt qfq die beiden Queries (vgl. "SQL before execution" und "SQL final" im Screenshot)
Files
Actions