Project

General

Profile

Actions

Bug #5311

closed

Konflikt zwischen zwei SQL aus zwei Form-Elementen

Added by Nicola Chiapolini over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Carsten Rose
Target version:
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

screenshot.png View screenshot.png 77 KB Nicola Chiapolini, 29.01.2018 11:21
Actions

Also available in: Atom PDF