Project

General

Profile

Actions

Bug #4293

open

Download broken if token 'd:' is missing - but no error message

Added by Carsten Rose over 6 years ago. Updated over 4 years ago.

Status:
Some day maybe
Priority:
Normal
Assignee:
Carsten Rose
Target version:
Start date:
24.08.2017
Due date:
% Done:

0%

Estimated time:
Discuss:
Prio Planung:
Vote:

Description

Es gab einen kompletten PHP Crash wenn im Form Subrecord eine Spalte wie folgt definiert war:

# OK
... CONCAT('d:file.pdf|s|t:Download|f:',n.pathFileName) AS 'Download|100|link', ...

# Crash
... CONCAT('s|t:Download|f:',n.pathFileName) AS 'Download|100|link', ...

CR hat dann eine Fake 'buildFile()' Funktion in Link.php eingesetzt.

Topics:
  • Evtl. tritt der Fehler auch in Report/Link auf.
  • Es sollte eine Fehlermeldung geben wenn 'd' fehlt.
  • Evtl. kann das Token 'f:' in der calltable (buildFile) entfernt werden - bis anhin wurde es auch nicht gebracht.
  • Gibt es 'isFunc()' um zu testen ob man eine Funktion aufrufen kann? Das sollte implementiert werden.

Related issues

Related to QFQ - Bug #7514: broken defaults in _pdf, _file, _linkClosedCarsten Rose19.12.2018

Actions
Actions

Also available in: Atom PDF