Project @ iMath: Issueshttps://project.math.uzh.ch/https://project.math.uzh.ch/favicon.ico?16668783892024-03-05T07:31:43ZProject @ iMath
Redmine QFQ - Support #18057 (New): {{sqlLog:Y}} returns empty string when not configuredhttps://project.math.uzh.ch/issues/180572024-03-05T07:31:43ZElias Villiger
<p>When the QFQ config for <code>sqlLog</code> (or <code>qfqLog</code>, <code>mailLog</code>) is empty, the default log directory (<code>fileadmin/protected/qfqProject/log/sql.log</code>) is used.</p>
<p>When retrieving <code>{{sqlLog:Y}}</code> from the System Store, this returns an empty string (corresponding to the config value).</p>
<p>Expected behavior: When there's no specific log path configured, I would expect it to return the default/actual path to the log file.</p>
<p>Example use case: <a class="external" href="https://docs.qfq.io/en/master/Report.html#monitor">https://docs.qfq.io/en/master/Report.html#monitor</a></p> QFQ - Support #18048 (New): Upload (filepond): FE.downloadButton missing tooltiphttps://project.math.uzh.ch/issues/180482024-03-03T22:31:55ZCarsten Rosecarsten.rose@math.uzh.ch
<p>QFQ Version 24.3.0</p>
<a name="In-v1-funktioniert-die-Anzeige-des-Tooltips"></a>
<h2 >In 'v1' funktioniert die Anzeige des Tooltips<a href="#In-v1-funktioniert-die-Anzeige-des-Tooltips" class="wiki-anchor">¶</a></h2>
<pre>
downloadButton = t:Download|o:check file
</pre>
<p><img src="https://project.math.uzh.ch/attachments/download/9401/clipboard-202403032329-8x1vp.png" alt="" /></p>
<a name="In-v2-funktioniert-die-Anzeige-des-Tooltips-nicht-nicht-als-Tooltip"></a>
<h2 >In 'v2' funktioniert die Anzeige des Tooltips nicht (nicht als Tooltip)<a href="#In-v2-funktioniert-die-Anzeige-des-Tooltips-nicht-nicht-als-Tooltip" class="wiki-anchor">¶</a></h2>
<p>Es wird der ganze Text gerendert - d.h. vermutlich werden die Angaben wie tooltip, glyphicon nicht ausgewertet. Aktuell weiss ich nicht was noch alles verwendet werden kann - am besten bei V1 nachschauen.</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9402/clipboard-202403032330-ki9qk.png" alt="" /></p>
<p>Laut Doku (<a class="external" href="https://docs.qfq.io/en/master/Form.html#id14">https://docs.qfq.io/en/master/Form.html#id14</a>):</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9403/clipboard-202403032331-l8bqw.png" alt="" /></p> QFQ - Support #17880 (New): QFQ Exception: a) stacktrace not in support, b) Underline SQL error https://project.math.uzh.ch/issues/178802024-02-12T19:56:47ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/9220/clipboard-202402122055-9vcu4.png" alt="" /></p> QFQ - Bug #6140 (Priorize): QFQ DnD Sort: Locked fieldshttps://project.math.uzh.ch/issues/61402018-06-04T14:05:01ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>Lock fields with classes: qfq-dnd-no-drag / qfq-dnd-no-drop</p>
<p>Vermutlich war gemeint:</p>
<ul>
<li>Tabelle mit 5 Spalten</li>
<li>Die letzte Spalte mit Symbol 'Hand' - nur diese Spalte reagiert auf drag'n'drop.</li>
<li>Alle anderen Spalten kann man mit der Maus markieren und copy/paste machen.</li>
</ul> QFQ - Bug #6116 (Priorize): value of checkbox not saved https://project.math.uzh.ch/issues/61162018-05-29T09:43:08ZNicola Chiapolini
<p>In one of our forms, we have the following checkbox:<br /><pre><code class="sql syntaxhl"><span class="k">INSERT</span> <span class="k">INTO</span> <span class="nv">`FormElement`</span> <span class="p">(</span><span class="nv">`id`</span><span class="p">,</span> <span class="nv">`formId`</span><span class="p">,</span> <span class="nv">`feIdContainer`</span><span class="p">,</span> <span class="nv">`dynamicUpdate`</span><span class="p">,</span> <span class="nv">`enabled`</span><span class="p">,</span> <span class="nv">`name`</span><span class="p">,</span> <span class="nv">`label`</span><span class="p">,</span> <span class="nv">`mode`</span><span class="p">,</span> <span class="nv">`modeSql`</span><span class="p">,</span> <span class="nv">`class`</span><span class="p">,</span> <span class="nv">`type`</span><span class="p">,</span> <span class="nv">`subrecordOption`</span><span class="p">,</span> <span class="nv">`encode`</span><span class="p">,</span> <span class="nv">`checkType`</span><span class="p">,</span> <span class="nv">`checkPattern`</span><span class="p">,</span> <span class="nv">`onChange`</span><span class="p">,</span> <span class="nv">`ord`</span><span class="p">,</span> <span class="nv">`tabindex`</span><span class="p">,</span> <span class="nv">`size`</span><span class="p">,</span> <span class="nv">`maxLength`</span><span class="p">,</span> <span class="nv">`bsLabelColumns`</span><span class="p">,</span> <span class="nv">`bsInputColumns`</span><span class="p">,</span> <span class="nv">`bsNoteColumns`</span><span class="p">,</span> <span class="nv">`rowLabelInputNote`</span><span class="p">,</span> <span class="nv">`note`</span><span class="p">,</span> <span class="nv">`adminNote`</span><span class="p">,</span> <span class="nv">`tooltip`</span><span class="p">,</span> <span class="nv">`placeholder`</span><span class="p">,</span> <span class="nv">`value`</span><span class="p">,</span> <span class="nv">`sql1`</span><span class="p">,</span> <span class="nv">`parameter`</span><span class="p">,</span> <span class="nv">`parameterLanguageA`</span><span class="p">,</span> <span class="nv">`parameterLanguageB`</span><span class="p">,</span> <span class="nv">`parameterLanguageC`</span><span class="p">,</span> <span class="nv">`parameterLanguageD`</span><span class="p">,</span> <span class="nv">`clientJs`</span><span class="p">,</span> <span class="nv">`feGroup`</span><span class="p">,</span> <span class="nv">`deleted`</span><span class="p">,</span> <span class="nv">`modified`</span><span class="p">,</span> <span class="nv">`created`</span><span class="p">)</span> <span class="k">VALUES</span>
<span class="p">(</span><span class="mi">164</span><span class="p">,</span> <span class="mi">1000</span><span class="p">,</span> <span class="mi">380</span><span class="p">,</span> <span class="s1">'no'</span><span class="p">,</span> <span class="s1">'yes'</span><span class="p">,</span> <span class="s1">'reg_done'</span><span class="p">,</span> <span class="s1">'Final'</span><span class="p">,</span> <span class="s1">'hidden'</span><span class="p">,</span> <span class="s1">'{{SELECT IF( title_hash != </span><span class="se">\'\'</span><span class="s1"> AND (SELECT SUM(head) FROM `phd_committee_members` WHERE phd_student=(SELECT id FROM phd_graduation WHERE shortname=</span><span class="se">\'</span><span class="s1">{{shortname}}</span><span class="se">\'</span><span class="s1"> )) = 1,</span><span class="se">\'</span><span class="s1">show</span><span class="se">\'</span><span class="s1">, </span><span class="se">\'</span><span class="s1">hidden</span><span class="se">\'</span><span class="s1">) FROM phd_graduation WHERE shortname=</span><span class="se">\'</span><span class="s1">{{shortname}}</span><span class="se">\'</span><span class="s1"> }}'</span><span class="p">,</span> <span class="s1">'native'</span><span class="p">,</span> <span class="s1">'checkbox'</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">'specialchar'</span><span class="p">,</span> <span class="s1">'alnumx'</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="mi">200</span><span class="p">,</span> <span class="mi">0</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">'row,label,/label,input,/input,note,/note,/row'</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">'{{!SELECT IF(reg_done, reg_done, NOW()) FROM phd_graduation WHERE id=</span><span class="se">\'</span><span class="s1">{{id:RE}}</span><span class="se">\'</span><span class="s1"> }}'</span><span class="p">,</span> <span class="s1">'checkBoxMode = single</span><span class="se">\r\n</span><span class="s1">label2 = Submit this form and start the process.'</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">''</span><span class="p">,</span> <span class="s1">'no'</span><span class="p">,</span> <span class="s1">'2018-05-29 09:34:25'</span><span class="p">,</span> <span class="s1">'2018-03-09 10:06:26'</span><span class="p">);</span>
</code></pre></p>
<p>This checkbox gets correctly displayed with all the values of <code>mode sql</code> below, but only saved to the DB for some of them:</p>
<p><strong>good</strong><br /><pre><code>
{{SELECT IF( title_hash != '' ,'show', 'hidden') FROM phd_graduation WHERE shortname='{{shortname}}' }}
{{SELECT IF( title_hash != '' AND (SELECT SUM(head) FROM `phd_committee_members` WHERE phd_student=(SELECT id FROM phd_graduation WHERE shortname='{{shortname}}' )) = 1,'show', 'hidden') FROM phd_graduation WHERE shortname='{{shortname}}' }}
</code></pre></p>
<p><strong>bad</strong><br /><pre><code>
{{SELECT IF( title_hash != '' ,'show', 'hidden') FROM phd_graduation WHERE id='{{id}}' }}
{{SELECT IF( title_hash != '' ,'show', 'hidden') FROM phd_graduation WHERE shortname='{{shortname:R0}}' }}
{{SELECT IF( title_hash != '' ,'show', 'hidden') FROM phd_graduation WHERE shortname='{{shortname:FR0}}' }}
{{SELECT IF( title_hash != '' AND (SELECT SUM(head) FROM `phd_committee_members` WHERE phd_student='{{id:R0}}') = 1,'show', 'hidden') FROM phd_graduation WHERE id='{{id:R0}}' }}
</code></pre></p>
<p><code>shortname</code> is a nativ / extra field in the form, <code>id</code> is not part of the form.</p>
<p>In any case, a displayed field should also be saved ;-)</p> QFQ - Bug #5991 (Some day maybe): URLs with '|' or long parameter are problematichttps://project.math.uzh.ch/issues/59912018-05-14T05:45:44ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Mitunter werden URLs in der DB gespeichert.</li>
<li>By default werden sie waehrend der Eingabe htmlspecialchar kodiert - damit funktionieren sie dann spaeter bei der Ausgabe nicht mehr.</li>
<li>Werden sie unencoded gespeichert, kann es sein das sie '|' enthalten. Das irritiert QFQ und funktioniert nicht. Bsp.:<br /><pre>
u:http://www.springer.com/west/home/engineering/electronics?SGWID=4-191-22-33358459-detailsPage=ppmmedia|toc|t:Springer site of volume
</pre></li>
<li>Evtl. hilft ein spezieller Kodierungsmodus.</li>
<li>Allgemein waere es wuenschenswert das Problem zu loesen.</li>
</ul> QFQ - Bug #5877 (Some day maybe): FE.type=note:bsColumn strange behaviourhttps://project.math.uzh.ch/issues/58772018-04-26T16:32:42ZCarsten Rosecarsten.rose@math.uzh.ch
<p>SW hat auf der GRC Seite ein spezielles Verhalten gehabt.</p>
<ul>
<li>FE Element (kein Dynamic Update) type=note</li>
<li>In der Note gab es kein Label und Input.</li>
<li>Die Note Spalte war 9 spalten breit. Label=3, Input=0</li>
<li>Nachdem 'modeSql' gesetzt wurde, so dass nur bei gewissen Grants das FE angezeigt werden soll (show/hidden), war der Button linksbuendig, obwohl er in der 4. Spalte beginnen soltle.</li>
<li>Wurde Label=2, Input=1 oder Label=0, Input=3 gesetzt, trat der Effekt nicht auf.</li>
</ul> QFQ - Bug #5768 (Some day maybe): '{{pageLanguage:T}}' missing if QFQ is called via api https://project.math.uzh.ch/issues/57682018-03-30T08:08:18ZCarsten Rosecarsten.rose@math.uzh.ch
<p>save() und download() haben keine Zugriff auf {{pageLanguage}}.</p>
<p>Das sollte gesetzt werden wie feUser und feGroup.</p> QFQ - Bug #5706 (Some day maybe): upload: fileDestination needs to be sanatizedhttps://project.math.uzh.ch/issues/57062018-03-19T15:39:19ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Falls in einem FE.type=upload die 'fileDestination' mit einem unerlaubten Zeichen berechnet wird, wird dieses Zeichen nicht entfernt.</p> QFQ - Bug #5576 (New): Using MySQL 'DROP' requires privilege - wich is not really necessary.https://project.math.uzh.ch/issues/55762018-02-28T17:40:58ZNicola Chiapolini
<p>Auf unserer neuen Installation hat das Anlegen der System-Tabellen (wieder) nicht geklappt. Dieses Mal habe ich das Problem identifiziert.</p>
<p>Die Datei <code>qfq/sql/formEditor.sql</code> enthält ein nicht auskommentierten DROP-Befehl. Entweder muss der auskommentiert werden (patch im Anhang) oder dann muss in der Doku DROP als nötiges Recht für den QFQ-DB-User erwähnt werden.</p> QFQ - Bug #5559 (New): FE.type = Upload: 'accept' might contain variableshttps://project.math.uzh.ch/issues/55592018-02-27T09:37:28ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Der Parameter 'fe.parameter.accept = {{some_var:Y}}' wird nicht ersetzt. Es sollte moeglich sein einen beliebigen Store zu verwenden. Z.B. zentrale config.qfq.ini oder via STORE_VAR (fill_store_var) oder STORE_REOCRD (aktueller Record auf dem das Form arbeitet).</p>
<p>Vermutlich wird accept beim Load nicht evaluiert. Der Uplaod findet dann via API statt, die Variable ist dann im SIP store und wird in der API nicht erneut evalueiret (macht dort auch keinen Sinn,da sie sich nicht mehr aendern wird).</p>
<p>Query ist ok: `accept = {{SELECT ...}}`</p> QFQ - Bug #5557 (Some day maybe): Form load: STORE_RECORD filled, but should be emptyhttps://project.math.uzh.ch/issues/55572018-02-27T00:13:54ZCarsten Rosecarsten.rose@math.uzh.ch
<p>It seems that, if multiple tt-content QFQ records exist, with some 'report' code in the first QFQ record and a form on a second QFQ record: that form run's into trouble in case of r=0.</p>
<p>The STORE_RECORD contains alredy information, even if it should be empty!</p> QFQ - Bug #5459 (New): Multi DB: spread system tables between 'QFQ' and 'Data'-DBhttps://project.math.uzh.ch/issues/54592018-02-18T09:37:38ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Aktuell sind alle Systemtabellen immer in der QFQ DB - das ist schlecht fuer 'Dirty', 'MailLog', 'Period', 'Split' -
<ul>
<li>Diese werden nur automatisch in QFQ installiert. </li>
<li>'Split' wird aber in 'DATA' verwendet. Das knallt dann wenn die Tabelle dort nicht manuell installiert wird.</li>
<li>'Dirty' locked akutell nur in der eigenen T3 Instanz.</li>
</ul>
</li>
<li>'Dirty' und 'Maillog' sollten konfigurierbar sein, in welcher DB sie genutzt werden. In dieser DB sollten sie dann auch bei einem Update aktualisiert werden.</li>
<li>Pro Tabelle sollte dann die Versionsnummer abgelegt werden. Vermtulich macht es Sinn das in Zukunft immer fuer alle Tabelle zu machen.</li>
</ul>
<ul>
<li>F & FE optional aus eigener DB:
<ul>
<li>Funktioniert copy/paste (clipboard sollte in QFQ sein)</li>
<li>Funktioniert record locking (dirty sollte in DATA sein)</li>
<li>tables
<ul>
<li>Form QFQ</li>
<li>FormElement QFQ</li>
<li>Dirty Data</li>
<li>Period Data</li>
<li>MailLog Data</li>
<li>Clipboard QFQ</li>
<li>Cron QFQ</li>
</ul></li>
</ul></li>
</ul> QFQ - Bug #5305 (New): Upload FormElement: nicht disabled by readonly Formhttps://project.math.uzh.ch/issues/53052018-01-27T12:39:23ZElias Villiger
Das Problem:
<ul>
<li>By Dynamic Update sollte der Button enabled/disabled werden koennen.</li>
<li>D.h. der Server muss immer das eine SIP mitliefern, kann ja sein das der Button spaeter aktiv wird.</li>
<li>Auch bei 'disabled' button (visuell korrekt als disabled dargstellt) wird ein Klick ausgefuehrt und der Dateiauswahldialog oeffnet sich und der ganze Prozess (Auswahl, Upload, Delete) funktioniert.</li>
</ul> QFQ - Bug #5221 (New): Download Dialog: Bleibt stehen in FF wenn Datei automatisch gespeichert wird.https://project.math.uzh.ch/issues/52212018-01-10T12:45:32ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Oeffnet sich in FF erst der Dialog zum Speichern/ Auswahl der Applikation - verschwindet der Dialog wie gewollt.</p>
<p>Gemeldet von DM im HIFO Tool mit QFQ 0.25.8, FF 57.0.4 (Linux).</p> QFQ - Bug #5021 (Some day maybe): FE.typ=extra - during save displays error 'datum2' already fil...https://project.math.uzh.ch/issues/50212017-11-29T12:17:01ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li><a class="external" href="https://jes.math.uzh.ch/">https://jes.math.uzh.ch/</a> </li>
<li>Form: jes_archiv_upload, Primary table: notiz</li>
<li>Element: 7179 / label=datum2 / type=extra / value={{SELECT <abbr title="">NOW</abbr>}}</li>
</ul>
<p>Wird das Formular gespeichert, erscheint die Fehlermeldung "'datum2' already filled in STORE_SIP"</p> QFQ - Bug #4771 (Some day maybe): qfq: select-down-values empty after save (edit-form for program...https://project.math.uzh.ch/issues/47712017-10-16T11:00:37ZKarin Niffeler
<p>see pdf <br />qfq version 25.0</p>
<p>Unfortunately, we cannot go online with the application-form until this bug is fixed (or is it a bug I have to fix in my form value statement?). Otherwise, we could lose important students' data.</p>
<p>Thank you!<br />Karin</p> QFQ - Bug #4756 (New): Form dirty even nothing changeshttps://project.math.uzh.ch/issues/47562017-10-13T15:09:33ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Bei GRC und anderen Seiten, faellt auf das ein Form als 'dirty' markiert wird (beim verlassen des Forms ohne zu speichern wird nachgefragt ob man speichern moechte) obwohl nichts veraendert wurde. 'Einfache' Formulare sind ok.</li>
</ul>
<p>Evtl. hat es etwas mit Typeahead zu tun.</p>
<ul>
<li>Das gleiche passiert beim IK Tool 'Applciation' wenn man es im 'Read Only' Mode aufruft (im Archiv).</li>
</ul> QFQ - Bug #4659 (Some day maybe): infoButtonExtrahttps://project.math.uzh.ch/issues/46592017-09-29T16:01:59ZNicolas Huber
<p>Falls der Text eines infoButtonExtra leer ist, soll der infoExtraButton erst gar nicht erscheinen.</p> QFQ - Bug #4651 (Some day maybe): "Loading document" Modal wird angezeigt bei uzhcd type=2 Ansichthttps://project.math.uzh.ch/issues/46512017-09-28T08:39:55ZElias Villiger
Beim UZH CD gibt es verschiedene Ansichten:
<ul>
<li>&type=1 -> eine Print-Ansicht</li>
<li>&type=2 -> eine text-only Ansicht (evtl. auch als Print-Ansicht gedacht)</li>
</ul>
<p>Wenn eine Seite mit type=2 aufgerufen wird und die entsprechende Seite einen qfq PDF-Link hat, wird zuletzt auf der Seite das qfq-File-Download-Modal angezeigt:<br /><img src="https://project.math.uzh.ch/attachments/download/928/FileModal.PNG" alt="" /></p> QFQ - Bug #4583 (Some day maybe): Dynamic Update bei TypeAhead Feldernhttps://project.math.uzh.ch/issues/45832017-09-19T14:07:12ZStefan Willi
<p>Bei Feldern mit TypeAhead Funktion werden bei einem Dynamic Update die Werte falsch gespeichert.<br />Es wird jeweils der vorherige und nicht der aktuelle Wert gespeichert.</p> QFQ - Bug #4549 (Some day maybe): TemplateGroups: FE.type SELECT loose selected value after savehttps://project.math.uzh.ch/issues/45492017-09-17T12:25:20ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Nach dem Klick auf speichern, werden Select Listen in Templategroups nicht korrekt aktualisiert.</p> QFQ - Bug #4546 (Some day maybe): NH: SIP storage is destroyed https://project.math.uzh.ch/issues/45462017-09-16T09:00:14ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Nicolas hatte einige Tage lang den Effekt, das die SIPs immer mal wieder ungueltig waren. Vermutlich hat QFQ die SIP storage abgeraeumt weil ein Angriff erkannt wurde.</p> QFQ - Bug #4528 (Some day maybe): extraButtonLock mit SQLAhead Bughttps://project.math.uzh.ch/issues/45282017-09-14T16:23:22ZNicolas Huber
<p>Wenn man SqlAhead und extraButtonLock kombiniert nutzt funktioniert der extraButtonLock nicht mehr bzw. wenn man auf das schloss drueckt, aendert sich das feld nicht zu einem Show Element, sondern bleibt ein Readonly.<br />Aufgetreten ist es beim Formular 152, requestAdministration,Formelement Project number</p> QFQ - Bug #4457 (Priorize): typeahead: pressing return to select an item, saves the form and clos...https://project.math.uzh.ch/issues/44572017-09-09T20:43:09ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Wird bei einem Typeahead FE durch Tastendruck das Dropdown aufgeklappt, und man navigiert durch die Liste mit Up/Down und drueckt dann bei dem gewuenschten Feld Return, so wird das Form gespeichert und abgeraeumt.</p>
<p>Erwartet haette ich das der Eintrag ausgwaehlt wird.</p> QFQ - Bug #4454 (Some day maybe): Required Elements: multiple elements in a row - whole row marke...https://project.math.uzh.ch/issues/44542017-09-09T16:37:01ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #4441 (Some day maybe): $_SERVER Vars sollten nur aus dem Store genommen werden - Code ...https://project.math.uzh.ch/issues/44412017-09-09T14:34:35ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #4398 (Some day maybe): Typeahead: mouse click in a prefilled input opens a single item...https://project.math.uzh.ch/issues/43982017-09-05T21:07:01ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Wird in einem typeahead input (min. bei pedantic) mit der maus reingeklickt, und war das vorher schonmal geladen worden und es existiert ein default wert, dann geht sofort ein dropdown mit einem Element auf. Das ist genau der aktuell geladene Value (nicht der Key). Klickst man auf die aufgklappte '1-Value-Liste, wird der Wert uebernommen. Das scheint bei key/value Paaren fatal zu sein, den nun ist der Value im Input und nicht der Key.</p>
<ul>
<li>Aufgefallen bei GRC mit LDAP typeahead bei Feldern die den UZH shortname speichern (=key), aber 'Vorname, Nachname (Email)' anzeigen (Value). </li>
<li>Evtl. gibt's hier etwas zum einstellen: <a class="external" href="https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#options">https://github.com/twitter/typeahead.js/blob/master/doc/jquery_typeahead.md#options</a></li>
<li>autocomplete="off" hat nicht geholfen.</li>
</ul> QFQ - Bug #4328 (Some day maybe): Error Message: Show FE name/number on problems in FEhttps://project.math.uzh.ch/issues/43282017-08-30T12:13:44ZCarsten Rosecarsten.rose@math.uzh.ch
<p>At least for the following situation there is no information about the problematic FE name/id.</p>
<ul>
<li>FE.type='extra'</li>
<li>Fe.name= <empty> (this is the problem)</li>
</ul>
<p>Form load breaks.</p> QFQ - Bug #4293 (Some day maybe): Download broken if token 'd:' is missing - but no error messagehttps://project.math.uzh.ch/issues/42932017-08-23T22:08:02ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Es gab einen kompletten PHP Crash wenn im Form Subrecord eine Spalte wie folgt definiert war:<br /><pre>
# 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', ...
</pre></p>
<p>CR hat dann eine Fake 'buildFile()' Funktion in Link.php eingesetzt.</p>
Topics:
<ul>
<li>Evtl. tritt der Fehler auch in Report/Link auf.</li>
<li>Es sollte eine Fehlermeldung geben wenn 'd' fehlt.</li>
<li>Evtl. kann das Token 'f:' in der calltable (buildFile) entfernt werden - bis anhin wurde es auch nicht gebracht.</li>
<li>Gibt es 'isFunc()' um zu testen ob man eine Funktion aufrufen kann? Das sollte implementiert werden.</li>
</ul> QFQ - Bug #4279 (Some day maybe): config.linkVars losthttps://project.math.uzh.ch/issues/42792017-08-23T10:20:50ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Clicking on a 'AS _Pagee' link looses the 'L' parameter.</p>
<p>In general not only 'type' and 'L' should be appended but all Parameter configured in 'config.linkVars'.</p> QFQ - Bug #4138 (Some day maybe): _style fehlthttps://project.math.uzh.ch/issues/41382017-07-31T08:50:53ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>Wir haben auf der Math Seite noch eintraege mit _style (UL|Text) die es noch nicht gibt im QFQ.</p>
<p>Beispiel waere Vita:<br /><a class="external" href="https://webwork16.math.uzh.ch/math/work/index.php?professur&key1=8882">https://webwork16.math.uzh.ch/math/work/index.php?professur&key1=8882</a></p>
<p>Der ganze Block of text ist eine Reihe in der Auswertung, urspruenglich: "UL| ganzer Text" und ich nehme an das UL hat dann die einzelnen \n in listen items eingeteilt.</p> QFQ - Bug #4122 (Some day maybe): _file: Render Mode hat keinen Effekthttps://project.math.uzh.ch/issues/41222017-07-24T08:50:09ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>Siehe: <a class="external" href="https://webwork16.math.uzh.ch/math/work/index.php?preprint&key1=2010">https://webwork16.math.uzh.ch/math/work/index.php?preprint&key1=2010</a></p>
<p>Download Button wird auch mit leerem File gerendert.</p> QFQ - Bug #4092 (Some day maybe): 1) Logging verbessern wann welches FE warum ausgefuehrt wird, 2...https://project.math.uzh.ch/issues/40922017-07-11T05:28:22ZCarsten Rosecarsten.rose@math.uzh.ch
<a name="Logging-verbessern-wann-welches-FE-warum-ausgefuehrt-wird"></a>
<h1 >Logging verbessern wann welches FE warum ausgefuehrt wird<a href="#Logging-verbessern-wann-welches-FE-warum-ausgefuehrt-wird" class="wiki-anchor">¶</a></h1>
<ul>
<li>In SQL Log muss stehen welches Statement durch welches FE getriggert wird.</li>
<li>Evtl. eigenes Log fuer das abarbeiten der FE. Warum wird wann was wo gemacht. Evtl. reicht es immer nur ein Form Save zu loggen. Bsp.: aus allen FE wird das primary save gebaut. Anschliessend werden die before save und dann die after save gebaut.</li>
</ul>
<p>h2 Documentation: Best Practice Template Group</p>
<p>Schritt fuer Schritt erklaeren was beim speichen von template groups passiert und wie man das schrittweise debuggen kann. welcher logeintrag ist wo zu erwarten?</p> QFQ - Bug #3895 (Some day maybe): typeahead pedantic: on lehrkredit ldap webpass - if only one pe...https://project.math.uzh.ch/issues/38952017-06-12T06:57:39ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #3882 (Some day maybe): templateGroup: disable 'add' if limit is reached - funktionier...https://project.math.uzh.ch/issues/38822017-06-09T10:45:11ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Bei einer Templategroup, in der z.B. 7 elemente max. erlaubt sind, und diese 7 Elemente angelegt wurden (non primary records), dann werden die records korrekt geladen, allerdings kann man den add button noch anklicken . der sollte auf 'disabled' stehen. Der Klick hat scheinbra keine folgen, ist aber nciht schoen.</p> QFQ - Bug #3811 (Some day maybe): Dynamic Update: extraButtonInfo - Text aktualisierenhttps://project.math.uzh.ch/issues/38112017-05-26T12:08:55ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Vermutlich wird der Text fuer 'extraButtonInfo' bei 'dynamicUpdate' nicht angepasst.</p> QFQ - Bug #3782 (Priorize): Bei fehlerhafter Eingabe (z.B. Datum) sollte das erwartete Format ang...https://project.math.uzh.ch/issues/37822017-05-22T10:39:56ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Gut waeren sinnvolle (dateilliertere) Defaults als jetzt.</li>
</ul> QFQ - Bug #3750 (Some day maybe): FE in a row: if one violates check, all are redhttps://project.math.uzh.ch/issues/37502017-05-18T06:56:59ZCarsten Rosecarsten.rose@math.uzh.ch
<p>RO: class 'form-group' at the moment wrapped around whole row. this is wrong. apply it to each input individually - multiple 'form-group' per row should be ok.</p> QFQ - Bug #3682 (Some day maybe): Dynamic update: Radio buttonshttps://project.math.uzh.ch/issues/36822017-05-05T17:08:23ZElias Villiger
<p>Das dynamic update greift nicht im sql1 Feld eines FormElements vom Typ radio button.</p> QFQ - Bug #3613 (Some day maybe): note /note unchecked -> note div (col-md) wird weiterhin gerenderthttps://project.math.uzh.ch/issues/36132017-04-21T16:41:23ZElias Villiger
<p>FormElement - Tab Layout:</p>
<p>Wenn z.B. die Checkboxes note und /note deaktiviert werden, wird der note-div weiterhin gerendert, ausser man setzt die "BS Note Columns" explizit auf 0.</p>
Erwartet wäre:
<ul>
<li>Deaktivierung von note führt dazu, dass <div class='col-md-x qfq-note'> nicht gerendert wird</li>
<li>Deaktivierung von /note führt dazu, dass der entsprechende </div> nicht gerendert wird</li>
</ul> QFQ - Bug #3588 (Some day maybe): templateGroup: versteckte Elemente werden weiterhin gespeichert.https://project.math.uzh.ch/issues/35882017-04-17T14:51:51ZElias Villiger
<p>TemplateGroup:<br /> feld1 = test1<br /> feld2 = test2</p>
Neben feld2 wird auf "Remove" geklickt, ohne vorher den Text zu löschen
<ul>
<li>feld2 verschwindet (wie erwartet)</li>
<li>Beim Speichern bleibt aber feld2 = test2</li>
<li>Wenn die Form neu geladen wird, erscheint feld2 wieder</li>
</ul>
<p>Erwartetes Verhalten: Wenn auf "Remove" geklickt wird, wird auch der entsprechende Inhalt gelöscht (spätestens beim Speichern)</p> QFQ - Bug #3570 (Some day maybe): Formular mit prmitnew|permitEdit=Always wird nicht aufgerufen (...https://project.math.uzh.ch/issues/35702017-04-13T11:14:50ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #3547 (New): FE of type 'note' causes writing of empty fields.https://project.math.uzh.ch/issues/35472017-04-10T22:14:04ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Beim save eines Records werden alle FormElemente vom Typ "note" auf leer gesetzt. Das hiess in dem Fall, dass der Name, Geschlecht, Titel der Personen gelöscht wurden, sobald versucht wurde, die Form zu speichern.</p> QFQ - Bug #3349 (Some day maybe): config.qfq.ini: a) vertraegt keine '=' im Value (z.B. Passwort)...https://project.math.uzh.ch/issues/33492017-03-13T16:24:32ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #3130 (Some day maybe): Debug Info's nicht korrekt nach 'New > Save'.https://project.math.uzh.ch/issues/31302017-01-30T23:14:41ZCarsten Rosecarsten.rose@math.uzh.ch
<p>EV/30.1.17: Es handelt sich um den Fix <a class="issue tracker-3 status-5 priority-2 priority-default closed" title="Support: QFQ: aftersave macht kein 'update' falls master record uerspruenglich 0 war. (Closed)" href="https://project.math.uzh.ch/issues/2914">#2914</a>. Funktioniert alles, ausser dass die<br />kleinen Informations-Felder zu den Angaben, wie die Queries ausgeführt<br />wurden, nicht geupdated wurden. Diese Felder zeigen immer noch den alten<br />Stand an, also z.B. dass die xId (welche sich auf einen mit afterSave<br />neu erstellten Record bezieht) nicht gefunden wurde.</p> QFQ - Bug #3109 (Some day maybe): RealUrl: Links werden nicht korrekt gerenderthttps://project.math.uzh.ch/issues/31092017-01-25T18:59:14ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Bei der <a class="external" href="http://www.biostat.uzh.ch">www.biostat.uzh.ch</a> Seite ist die 'RealUrl' Extension aktiv. Werden Links, auf Seite ab der zweiten Ebene gerendert, so enthalten sie als Ziel auch die zweite Ebene - das funktioniert nicht.</p>
<p>Bsp: <br /><a class="external" href="http://www.biostat.uzh.ch/setup/">www.biostat.uzh.ch/setup/</a>: Liste aller Forms.</p>
<p>Das edit Icon fuer die Forms zeigt auf 'www.biostat.uzh.ch/setup/index.php?id=form&...' - diese Seite existiert nicht.</p>
<p>Korrekt waere:<br />a) <a class="external" href="http://www.biostat.uzh.ch/index.php?id=form&form=">www.biostat.uzh.ch/index.php?id=form&form=</a>..., oder<br />b) <a class="external" href="http://www.biostat.uzh.ch/setup/form/index.php?form=">www.biostat.uzh.ch/setup/form/index.php?form=</a>...</p>
<p>Variante b) muesste einigermassen einfach zu ermitteln sein.</p> QFQ - Bug #3061 (Some day maybe): winstitute: mysql connection durcheinander - nmhp17 (ag7)/QFQ a...https://project.math.uzh.ch/issues/30612017-01-12T14:05:37ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Auf winstitute gibt u.a. die Instanzen:</p>
<p>a) <a class="external" href="http://www.biostat.uzh.ch/">http://www.biostat.uzh.ch/</a> >> winstitute: ag_7</p>
<pre><code>T3: 'database' => 't3_ag7','username' => 't3_ag7',</code></pre>
<pre><code>QFQ Extension QFQ Extension<br /> DB User: t3_ag7 (/srv/www/ag_7/typo3conf/ext/qfq/config.ini)</code></pre>
<pre><code>form2 Extension form2 Extension<br /> DBQ2 Extension DBQ2 Extension <br /> DB User: dbquser (/srv/www/ag_7/typo3conf/dbq2.config.ini)</code></pre>
<p>b) <a class="external" href="http://www.math.uzh.ch/nmhp17">http://www.math.uzh.ch/nmhp17</a> >> winstitute: conferences_7<br /> math.inc.conf:Alias /conferences_7 /srv/www/conferences_62</p>
<pre><code>T3: database' => 't3_zss', 'username' => 't3_zss'</code></pre>
<pre><code>QFQ Extension QFQ Extension<br /> DB_USER = zgsm, DB_NAME = zgsm (/srv/www/conferences_62/typo3conf/config.qfq.ini)<br /> DBQ2 Extension DBQ2 Extension <br /> DB_USER = zgsm, DB_NAME = zgsm (/srv/www/conferences_62/typo3conf/config.qfq.ini)</code></pre>
Das Problem:
<ul>
<li>je nachdem welche Website, nach einem Apache restart als erstes auferufen wird, gilt diese fuer a) <em>und</em> b).</li>
</ul>
<p>Folgenen Code zum debuggen<br /><pre>
sql1 = SELECT USER()
rend1 = <br><br>
sql2 = SHOW tables;
rend2 = <br>
tail2 = <br>
sql2a = SHOW databases;
rend2a = <br>
tail2a = <br>
</pre></p>
<a name="Test"></a>
<h1 >Test<a href="#Test" class="wiki-anchor">¶</a></h1>
<p>Biostat Seite:</p>
<ul>
<li>Apache restart</li>
</ul>
<ul>
<li>ok (dbquser) <a class="external" href="http://www.biostat.uzh.ch/?id=350">http://www.biostat.uzh.ch/?id=350</a></li>
<li>ok (QFQ Formular) <a class="external" href="http://www.biostat.uzh.ch/anmeldung/">http://www.biostat.uzh.ch/anmeldung/</a></li>
</ul>
<ul>
<li>fail (t3_ag7) <a class="external" href="http://www.math.uzh.ch/nmhp17/index.php?id=51">http://www.math.uzh.ch/nmhp17/index.php?id=51</a></li>
</ul> QFQ - Bug #2643 (Some day maybe): Zend / PHP Webinars anschauenhttps://project.math.uzh.ch/issues/26432016-10-12T06:41:31ZCarsten Rosecarsten.rose@math.uzh.ch
<p><a class="external" href="http://www.zend.com/en/resources/webinar/building-the-perfect-php-app-for-the-enterprise">http://www.zend.com/en/resources/webinar/building-the-perfect-php-app-for-the-enterprise</a></p> QFQ - Bug #2063 (Some day maybe): Pills auf 'inaktiv' setzen falls keine Element auf dem Pill sic...https://project.math.uzh.ch/issues/20632016-05-31T14:48:34ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Wenn durch dynamicUpdate alle Elemente eines Pills ausgeblendet werden, sieht das wie ein Fehler aus.</li>
<li>Gut waere wenn das Pill irgendwie symbolisieren wuerde 'alles ok, zeige nur nichts an'. </li>
<li>Z.B. das der Pill Button grau ist.</li>
</ul>