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 #1

Updated by Carsten Rose over 6 years ago

  • Target version set to next9
Actions #2

Updated by Carsten Rose over 6 years ago

  • Tracker changed from Support to Bug
Actions #3

Updated by Carsten Rose over 5 years ago

  • Related to Bug #7514: broken defaults in _pdf, _file, _link added
Actions #4

Updated by Carsten Rose over 4 years ago

  • Status changed from New to Some day maybe
Actions

Also available in: Atom PDF