Commit 3a84ac5e authored by Marc Egger's avatar Marc Egger
Browse files

Refs #10120 cleanup todo comments

parent acd786c5
Pipeline #3650 failed with stages
in 7 minutes and 48 seconds
......@@ -9,7 +9,6 @@ use IMATHUZH\Qfq\Core\Helper\OnString;
use IMATHUZH\Qfq\Core\Helper\SqlQuery;
use IMATHUZH\Qfq\Core\Store\Store;
// TODO: Fix all broken tests... one easy solution?
// TODO: Carsten Fragen: Habe keine Unittests zu QuickFormQuery->doForm gefunden. Wird nicht getestet. FormAsFile nicht testen oder vielleicht nur mit selenium?
// TODO: Carsten Fragen: Form backups erstellen vor deleteFormFile und exportForm?
// TODO: Carsten Fragen: "git rm" anstatt "rm" benutzen falls ordner ein git repo? Einziger unterschied: macht "git add"
......@@ -22,9 +21,10 @@ use IMATHUZH\Qfq\Core\Store\Store;
// TODO: Carsten Fragen: PHP version von gitlab runner hochstellen, damit ?string und void type syntax fuer funktionen erlaubt ist? verhindert einige fehler
// TODO: Carsten Fragen: Regex fuer erlaubte file names und form names im editor (+ erlauben?): ^([-\.\w]+)$ VS [a-zA-Z0-9._+-]+
// TODO: Carsten Fragen: Muss die neue Column fileStats von Form tabelle in DatabaseUpdateData.php? Form Editor wird ja sowieso neu eingespielt bei einem update.
// TODO: Carsten Fragen: add log messages somewhare?
// TODO: Carsten Fragen: add log messages somewhere?
// TODO: Fix all broken tests
// TODO: write tests (file test
// TODO: Tests:
// new form => form file created
......@@ -54,10 +54,6 @@ use IMATHUZH\Qfq\Core\Store\Store;
// importAllForms() is executed iff the rendered QFQ report selects Form/FormElement table.
// TODO: Maybe: solve reference by ID after file change Problem (might not be a big deal since it only happens on git pull)
// Problem: FormEditor and form list might reference a form by an old id. In that case everything has to be reloaded. That's annoying.
// Variant 1: reference form by name in edit and delete button, not by id (only solver part of the problem)
// Variant 2: track old form ids and relay to new form automatically. Track old form ids in new Form column "oldIds"
// TODO: Make unittest for isFormQuery(). Example string:
//$sql = <<<END
//SELECT CONCAT('p:{{pageId:T}}&form=form&r=', as _pagee,,, f.title, f.tableName, CONCAT('form=form&r=', as _Paged FROM where
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment