Project @ iMath: Issueshttps://project.math.uzh.ch/https://project.math.uzh.ch/favicon.ico?16668783892024-03-20T23:59:51ZProject @ iMath
Redmine QFQ - Bug #18184 (New): _link combination of g:_blank and q:.. not workinghttps://project.math.uzh.ch/issues/181842024-03-20T23:59:51ZEnis Nuredini
<p>Wird das special column name _link in Verbindung mit g:_blank und q:... verwendet dann wird nach Klick darauf nicht in einem neuem Tab geöffnet sondern im aktuellen. Das Attribut target wird auf den Button korrekt gesetzt. Es scheint etwas mit dem Handling beim Bestätigen des Alerts zu tun.</p> 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 - Bug #17945 (New): Values given to the parameters: typeAheadLimit and typeAheadMinLength are...https://project.math.uzh.ch/issues/179452024-02-19T09:12:49ZShweta Dayal
<p>typeAheadLimit and typeAheadMinLength are not showing the values defined in first layer of form parameters</p>
<p>Precondition:<br />Have type head field in the form</p>
<p>Steps: <br />1. open form <br />2. edit parameter in layout pill<br />3. Assign values: <br />typeAheadLimit=3<br />typeAheadMaxLength=11<br />4. Save</p>
<p>Expected results: The assigned values should be applied i.e. data-typeahead-limit=11 and data-typeahead-minlength=3</p>
<p>Actual results: The assigned values are not applied, it still shows the default values data-typeahead-limit=20 and data-typeahead-minlength=2</p>
<p>/scratch/share/system/projekte/qfq/selenium/image/typeaHeadLimit&MaxLength.png<br /><img src="https://project.math.uzh.ch/attachments/download/9273/clipboard-202402191001-lmust.png" alt="" /><br />/scratch/share/system/projekte/qfq/selenium/image/inspect.png<br /><img src="https://project.math.uzh.ch/attachments/download/9274/clipboard-202402191004-6tq6k.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 #17785 (New): undefined: Download::$storeSystemhttps://project.math.uzh.ch/issues/177852024-02-01T17:06:09ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #17778 (New): Upload Filepond Dynamic Update - first load hiddenhttps://project.math.uzh.ch/issues/177782024-01-31T15:39:49ZEnis Nuredini
<p>Ausgangssituation:<br />Ein Upload FormElement (Version Filepond) wird beim ersten Aufruf als hidden geladen und danach via Dynamic Update auf show gesetzt, bzw. eingeblendet.</p>
<p>Resultat: Filepond Objekt ist noch nicht initialisiert.</p>
<p>Ursache: Filepond kann nur initialisiert werden wenn das Upload Input Element sichtbar im DOM angezeigt wird. Beim Wechsel von Pills wurde schon eine Lösung dafür implementiert. Beim Einblenden von neuen Upload Elementen via Dynamic Update fehlt eine solche Lösung für die Initialisierung von Filepond. In solchen Fällen kann uploadType = v1 als Übergang verwendet werden.</p> QFQ - Bug #17668 (New): TypAhead: checks 'value', but should check 'key'https://project.math.uzh.ch/issues/176682024-01-19T20:19:07ZCarsten Rosecarsten.rose@math.uzh.ch
<p>QFQ 23.6.2</p>
<p><img src="https://project.math.uzh.ch/attachments/download/9061/clipboard-202401192117-qlllp.png" alt="" /></p>
<p>Beim laden des Forms (wenn ein User selektiert ist mit special char im Namen wie `Faske, Ida Synnøve`) gibt es im Client gleich ein 'invalid char'. Speichern wird entsprechend auch abgelehnt.</p>
<ul>
<li>checkType=auto setzt vermutlich 'alnumx' Pattern</li>
<li>Der Pattern Check prueft vermutlich den Value, es sollte eigentlich der Key getestet werden</li>
</ul>
<ul>
<li>Funktioniert nicht, sollte es aber: Encode=specialchar, checkType=auto</li>
<li>Funktioniert, aber unnoetig kompliziert: Encode=none, checkType=allbut</li>
</ul> QFQ - Bug #17384 (New): Thumbnail: touch(): Unable to create filehttps://project.math.uzh.ch/issues/173842023-11-29T15:20:10ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Es fehlte einfach das Verzeichnis <code>/var/www/html/uplan/fileadmin/protected/qfqThumbnail</code>.</li>
</ul>
<pre>
UniqId:: 656738c8aceb0
------------------------------------------------
toUser:: General error - please report.
support:: File: /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php / Line: 178 / touch(): Unable to create file /var/www/html/uplan/fileadmin/protected/qfqThumbnail/e69da330fa0d81e6488fdcb245704208.png because No such file or directory
Timestamp:: 2023.11.29 14:12:40 +0100
Code:: 2
Message:: General error - please report.
Type:: Code Exception
current sip:: array (
'_b64_download' => 'F:/var/www/html/uplan/fileadmin/protected/qfqThumbnail/e69da330fa0d81e6488fdcb245704208.png|T:fileadmin/protected/application/25/_fk.CVProjektleiter.pdf|W:500x|r:7|s',
'mode' => 'thumbnail',
'r' => '0',
's' => '656738c86369f',
'urlparam' => '_b64_download=RjovdmFyL3d3dy9odG1sL3VwbGFuL2ZpbGVhZG1pbi9wcm90ZWN0ZWQvcWZxVGh1bWJuYWlsL2U2OWRhMzMwZmEwZDgxZTY0ODhmZGNiMjQ1NzA0MjA4LnBuZ3xUOmZpbGVhZG1pbi9wcm90ZWN0ZWQvYXBwbGljYXRpb24vMjUvX2ZrLkNWUHJvamVrdGxlaXRlci5wZGZ8Vzo1MDB4fHI6N3xz&mode=thumbnail&r=0',
)
Page Id:: -
Content Id:: -
FE User:: crose
File:: /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Exception/ErrorHandler.php
Line:: 42
CWD:: /var/www/html/uplan
IP Address:: 192.168.133.208
Stacktrace::
#1 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php(178): touch()
#2 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php(153): IMATHUZH\Qfq\Core\Report\Thumbnail->createThumbnail()
#3 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Thumbnail.php(92): IMATHUZH\Qfq\Core\Report\Thumbnail->getOrCreateThumbnail()
#4 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Download.php(864): IMATHUZH\Qfq\Core\Report\Thumbnail->process()
#5 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Download.php(724): IMATHUZH\Qfq\Core\Report\Download->doThumbnail()
#6 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Core/Report/Download.php(973): IMATHUZH\Qfq\Core\Report\Download->doElements()
#7 /var/www/html/uplan/typo3conf/ext/qfq/Classes/Api/download.php(29): IMATHUZH\Qfq\Core\Report\Download->process()
==================================================
</pre> QFQ - Bug #17142 (New): UZH CD: Typo3 clean search bar migrationhttps://project.math.uzh.ch/issues/171422023-10-19T12:47:54ZEnis Nuredini
<p>The search bar isn't working correctly in typo3 v11. Executing search maybe shows correct results but the path is completely wrong. index.php isn't used anymore in Typo3 v11. Switching languages and using search bar changes the language always to default.</p>
<p>A solution is found to clean this behaviour: <a class="external" href="https://project.math.uzh.ch/projects/qfq/wiki/Migration#Search-bar-configuration">https://project.math.uzh.ch/projects/qfq/wiki/Migration#Search-bar-configuration</a></p>
<p>Those changes needs to be implemented directly in the UZH extension (old CD, new CD). And documentation for new custom variables should be added.</p> QFQ - Bug #16994 (New): Stacktrace in QFQ error messagehttps://project.math.uzh.ch/issues/169942023-10-04T19:21:08ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/8519/clipboard-202310042120-brzfz.png" alt="" /></p> QFQ - Bug #16965 (New): Unhandled exception on SQL queryhttps://project.math.uzh.ch/issues/169652023-09-28T12:36:23ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #16911 (New): TG wants to insert record but nothing was changedhttps://project.math.uzh.ch/issues/169112023-09-21T15:20:21ZPhilipp Gröbelbauer
<p>Template group is trying to do an Insert, even though none of its fields have been changed.<br />As a result, an empty string is passed to the insert statement for what should be a date value.<br />This produces the following error, which does not appear in qfq.log:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/8428/clipboard-202309211608-fobf3.png" alt="" /></p>
<p>Error occurred on <a class="external" href="https://webwork22.math.uzh.ch/my/finanztool-anstellungen">https://webwork22.math.uzh.ch/my/finanztool-anstellungen</a>, when saving an employment record while leaving one of the date fields on the 'Pauschalzahlungen' tab empty.<br />(Error no longer occurrs, because of the following checks in the TG afterSave:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/8429/clipboard-202309211714-eurla.png" alt="" /></p>
<p>(Remove these if you want to reproduce error)</p>
<p>There is a select FE (pauschal_cost_type_%d) in this template group. Disabling that FE fixes the error, suggesting that it is somehow responsible for initiating the faulty insert request.</p> QFQ - Bug #16620 (New): wkhtml: PDF shows QFQ FE editing form if BE User is logged inhttps://project.math.uzh.ch/issues/166202023-07-17T08:41:32ZJan Haller
<p>Wenn aus dem Inhalt des tt-content mit dem Parameter 'type=2' ein PDF generiert wird, enthält dieses Informationen von Typo3, wenn der User im BE eingeloggt ist.</p>
<p>Code QFQ:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/8174/clipboard-202307171039-wwgit.png" alt="" /></p>
<p>PDF (eingeloggt in T3 BE):</p>
<p><img src="https://project.math.uzh.ch/attachments/download/8175/clipboard-202307171040-wut50.png" alt="" /></p>
<p>PDF (ausgeloggt in T3 BE):</p>
<p><img src="https://project.math.uzh.ch/attachments/download/8176/clipboard-202307171040-gutam.png" alt="" /></p> QFQ - Bug #16348 (New): Typeahead + extraButtonInfo: no rendered as Button Grouphttps://project.math.uzh.ch/issues/163482023-06-02T21:19:16ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/8008/clipboard-202306022317-89gfi.png" alt="" /></p>
<p>Vermutlich passiert bei <code>extraButtonInfo</code> und vermutlich auch bei <code>extraButtonLock</code></p> QFQ - Bug #16114 (New): Subrecords / columns with buttons: elements on top of each otherhttps://project.math.uzh.ch/issues/161142023-04-27T07:09:23ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Ist das etwas das wir durch CSS vermeiden koennen?</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/7785/clipboard-202304270908-fd741.png" alt="" /></p>
<pre>
!SELECT gm.id AS _id
, CONCAT('p:lecture&feUser=', IFNULL(acc.name,'')
, IF(ISNULL(gma.id), '|r:3', '|s|b|G:glyphicon-user|o:Switch User (visible only to site admin)')
, '|t:<span>', p.name,', ', p.vorname, '</span>'
, '|q:Really switch user to ', p.name,', ', p.vorname) AS 'Tutor|40|link'
, CONCAT( LEFT(w.day,3), ' ', r.raum, '<br>', DATE_FORMAT( zr.von, '%H:%i-'
), DATE_FORMAT( zr.bis,'%H:%i')) AS "Day/Time/Room|50|nostrip"
, grSplit.name AS 'Split group'
, IF(gm.x_id4=9980,'checked-gray.gif','') AS "SemAssi Edit Lecture|icon"
, gm.x_id5 AS 'Grading Workload'
, gm.x_id7 'SAP Ex.-Group'
FROM
</pre> QFQ - Bug #15795 (New): Upload: download button not shown after pressing savehttps://project.math.uzh.ch/issues/157952023-03-14T13:02:17ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Bei r=0: alles ok</li>
<li>Bei r>0: Fehler wie beschrieben.</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/7498/clipboard-202303141400-waqtc.png" alt="" /></p>
<p>Before pressing save:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7499/clipboard-202303141400-zzrl9.png" alt="" /></p>
<p>After pressing save:</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7500/clipboard-202303141401-v6ybl.png" alt="" /></p> QFQ - Bug #15451 (New): Resubmit on form opened in new tab and set to forward=close is possiblehttps://project.math.uzh.ch/issues/154512023-01-27T13:28:09ZJan Haller
<p>Form Settings: Forward = close<br />Formular wird mit r=0 in einem neuen Tab geöffnet. Nach dem Speichern kann der Tab nicht automatisch geschlossen werden. Somit ist es möglich das Formular erneut auszufüllen und nochmals zu speichern. Dieser Vorgang kann beliebig oft wiederholt werden und jedes mal wird ein neuer Record angelegt.</p>
<p>Möglicher Fix: nach dem Speichern wird das gesamte Form auf readonly/qfq-disabled gesetzt.</p> QFQ - Bug #15317 (New): view-saver (tablesorter) is blocking header if header column contains lin...https://project.math.uzh.ch/issues/153172023-01-05T10:13:53ZJan Haller
<p>Beinhaltet der Header einer Tabelle eine Spalte mit linebreak/<br>, überlappt der view-saver den Header.</p>
<p><img src="https://project.math.uzh.ch/attachments/download/7099/clipboard-202301051111-bqhsm.png" alt="" /></p> QFQ - Bug #15108 (New): Wert in Note nach speichern nicht aktualisierthttps://project.math.uzh.ch/issues/151082022-12-05T15:46:11ZJan Haller
<p>Testformular: Medtool>Admin>Setup>Form>note_test</p>
<p>Text in Note (Notiz) wird mit Query abgefragt. Liefert die Query kein Resultat, bleibt nach dem Speichern der vorherige Wert erhalten. Die Seite muss neu geladen werden, damit der Inhalt entfernt wird.</p> QFQ - Bug #15083 (New): Tags: Input & ExtraButtonInfo/Lock/Show password - shiftedhttps://project.math.uzh.ch/issues/150832022-11-28T09:35:55ZCarsten Rosecarsten.rose@math.uzh.ch
<p><img src="https://project.math.uzh.ch/attachments/download/6939/clipboard-202211281035-kgern.png" alt="" /></p> QFQ - Bug #15047 (New): {{allRequiredGiven:V}} = 0, wenn Note Formelement auf required isthttps://project.math.uzh.ch/issues/150472022-11-18T10:11:34ZPascal Rössler
<p>Wenn ein Note Formelement auf mode=required hat, ist {{allRequiredGiven:V}} immer = 0. Da man ein Formelement vom Typ Note gar nicht ausfüllen kann.</p> QFQ - Bug #14705 (New): Tablesorter Viewsaver: Icons broken in dropdownlist (only in firefox)https://project.math.uzh.ch/issues/147052022-09-09T10:58:15ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Tritt nur im Firefox auf.</li>
<li>Wir eine Optione ausgewaehlt, ist das Icon oben korrekt dargestellt.</li>
<li>In der Dropdownliste ist es kaputt.</li>
</ul>
<p><img src="https://project.math.uzh.ch/attachments/download/6532/clipboard-202209091256-ozgts.png" alt="" /></p> QFQ - Bug #14636 (New): UI Design: Clear X is over up/down (step)https://project.math.uzh.ch/issues/146362022-08-31T08:19:54ZCarsten Rosecarsten.rose@math.uzh.chQFQ - Bug #14531 (New): slaveId, sqlInsert and sqlUpdate should be renamedhttps://project.math.uzh.ch/issues/145312022-07-28T16:06:41ZNicola Chiapolini
<p><code>slaveId</code> , <code>sqlInsert</code> and <code>sqlUpdate</code> are a lot more generic then their name suggests. They should probably be called <code>condition</code>, <code>sqlIf</code>, <code>sqlElse</code></p> QFQ - Bug #14530 (New): Variables: Action 'X' does not output Type messagehttps://project.math.uzh.ch/issues/145302022-07-26T18:41:06ZNicola Chiapolini
<p>Subject says it all - makes debugging really annoying...</p>
<p><code>4.sql = SELECT "{{la_supervisr:R::X::hallo}}"</code></p>
<p>gives<br /><img src="https://project.math.uzh.ch/attachments/download/6414/clipboard-202207262040-ssmzv.png" alt="" /></p> QFQ - Bug #14508 (New): _exec: output will not be passed downhttps://project.math.uzh.ch/issues/145082022-07-12T10:48:54ZBenjamin Baerbenjamin.baer@math.uzh.ch
<p>The output of _exec can't be passed down to fields below, even with AS '_exec|column'</p>
<p>{{column}} will return the command, not the output
{{&column}} will return empty, not the output</p>
<p>BTW: folgender Code verhaelt sich korrekt</p>
<pre>
10.sql = SELECT 'echo "Hello World"' AS '_exec'
20.sql = SELECT '{{10.exec}}'
</pre> QFQ - Bug #13706 (New): Wrong CheckType in FieldElement LastStatus of Form Cronhttps://project.math.uzh.ch/issues/137062022-01-21T17:20:57ZNicola Chiapolini
<p>The Check Type of LastStatus is configured as <code>alnumx</code> - but the displayed table column contains sanitized HTML, so lots of <code>&</code>.<br />(Trying to switch the value to fails with a warning "Encode 'specialchar' is not completely compatible with Check Type 'allbut': certain user input will be converted to its HTML representation (e.g. "), which makes use of a non-supported character (&)" which wrong, as according to docs, & is valid for allbut. However this message is missing for alnumx, where it would be correct...</p>
<p>Changing Check Type to <code>all</code> allows me to see the source retrieved by the lastrun.</p> QFQ - Bug #13659 (New): wrong sanitize class applied to R-storehttps://project.math.uzh.ch/issues/136592022-01-14T16:32:23ZNicola Chiapolini
<pre><code class="sql syntaxhl"><span class="mi">11</span><span class="p">.</span><span class="k">sql</span> <span class="o">=</span> <span class="k">SELECT</span> <span class="nv">"hallo"</span> <span class="k">AS</span> <span class="k">type</span>
<span class="mi">11</span><span class="p">.</span><span class="n">content</span> <span class="o">=</span> <span class="n">hide</span>
<span class="mi">20</span><span class="p">.</span><span class="k">sql</span> <span class="o">=</span> <span class="k">SELECT</span> <span class="s1">'{{type:R0}}'</span>
</code></pre>
<p>output:<br /><code>!!digit!!</code></p>
<p>(any other name then <code>type</code> works :-)</p> QFQ - Bug #12974 (New): Sanitize Queries in Action-Elementshttps://project.math.uzh.ch/issues/129742021-08-31T18:29:16ZNicola Chiapolini
<p>I just waisted an hour because qfq does not complain at all if the value after <code>sqlXXX = </code> is invalid. This should not happen.</p>
<p>QFQ should never silently ignore bad input unless it has been explicitly told to.</p> QFQ - Bug #12716 (New): template group: Pattern only applied to first instancehttps://project.math.uzh.ch/issues/127162021-06-28T12:13:26ZCarsten Rosecarsten.rose@math.uzh.ch
<p>In #12715 gab es bei der dritten Instanz einer TG den Effekt, das Sanatize 'alnumx' im Browser nur fuer die erste Instanz einer tg abgefragt wird, aber nicht fuer die dritte (vermutlich sind alle betroffen ausser der ersten.</p> QFQ - Bug #12545 (New): sql.log not created / updatedhttps://project.math.uzh.ch/issues/125452021-05-13T11:58:36ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Auf <a class="external" href="https://webwork16.math.uzh.ch/vorkurs/">https://webwork16.math.uzh.ch/vorkurs/</a> gab es kein Verzeichnis `/var/www/html/vorkurs/fileadmin/protected/log`.</li>
<li>Es gab auch keine logfiles sql.log, qfq.log, mail.log</li>
<li>Obwohl die Datei sql.log nicht existiert, sieht man in `Login > Setup > Log` immer eine Zeile (pro Sekunde neu/uberschrieben):<br /><pre>
<p><em>2021.05.13 13:55:04 +0200, Reference: 609d139857048</em></p><p>Error open &#039;fileadmin/protected/log/sql.log&#039;: fopen(fileadmin/protected/log/sql.log): failed to open stream: No such file or directory</p>
</pre></li>
<li>Wird das Verzeichnis angelegt (sollte automatisch passieren) <code>mkdir /var/www/html/vorkurs/fileadmin/protected/log; chown www-data:www-datat /var/www/html/vorkurs/fileadmin/protected/log</code> verschwindet der Fehler, die Datei sql.log ist aber trotzdem nicht da.</li>
<li>Wird eine leere Datei angelgt und ein Formular gespeichert, bleibt die Datei leer.</li>
</ul> QFQ - Bug #12520 (New): Switch FE User: still active even FE User session expiredhttps://project.math.uzh.ch/issues/125202021-05-11T09:41:56ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Auf der exam.math.uzh.ch Seite hatte CR sich eingeloggt und ein SwitchUser auf Giulio gemacht.</li>
<li>Einen Tag spaeter war CR nicht mehr eingeloggt, die STORE_USER Session aber scheinbar noch gueltig.</li>
</ul>
<p>Ich bin nicht sicher ob wir das Problem schomal hatten und entschieden haben das es nicht gefixt werden soll.</p>
<p>Meine erste Intention waere, das die QFQ Session abgeraeumt werden sollten wenn keine gueltige FE Session mehr existiert: wie kann man erkennen ob die T# FE Session abgelaufen ist. Was machen wir wenn es keine FE Session gibt (kein FE Login)</p> QFQ - Bug #12512 (New): Some MySQL Installation can't use 'stored procedures'https://project.math.uzh.ch/issues/125122021-05-08T13:29:32ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Die QFQ Hoststar Installation von Karin Niffeler scheint keine Stored Procedures zu unterstuetzen (zumindest sieht man im phpMyAdmin keine Moeglichkeit eine SP anzulegen). Siehe <a class="issue tracker-1 status-6 priority-2 priority-default closed" title="Bug: qfq Form: sendMail (Rejected)" href="https://project.math.uzh.ch/issues/12508">#12508</a> kn5.png, kn6.png, kn7.png.</p>
<p>Es waere gut wenn die QFQ Kernfunktion ohne Stored Procedures funktionieren wuerde.</p>
<p>Check welche anderen Tickets es zu diesem Thema gibt.</p>
<p>Besteht die Moeglichkeit die functions.sql per Setting komplett zu ignorieren?</p>
<p>D.h.:</p>
<ul>
<li>Check wo es zur Zeit ueberall klallt.</li>
<li>Im Standard FormEditor kein <abbr title="">QMORE</abbr> verwenden.</li>
<li>Check ob es moeglich ist QFQ ohne Stored Procedure abzugraden (Bsp: QFQ 19.x > 21.5)</li>
<li>Das Spielen (anlegen) der QFQ Stored Procdures
<ul>
<li>macht Probleme wenn man das File functions.sql in phpMyAdmin ausfuehrt.</li>
<li>die Berechtigungen sind nicht sauber es via phpMyAdmin triggert und dann in QFQ mit den T3 Credentials laufen muss.</li>
</ul></li>
</ul> QFQ - Bug #12187 (New): Trigger FormAsFile() via Report: probably problem with multi DB setuphttps://project.math.uzh.ch/issues/121872021-03-20T20:15:10ZCarsten Rosecarsten.rose@math.uzh.ch
<p>In <code>Report->triggerReport()</code> gibt es einen Aufruf <code>FormAsFile::importAllForms($this->db, false, true);</code> der vermutlich ein MultiDB Setup nicht beruecksichtigt:</p>
<ul>
<li>Report arbeitet bei Default auf `dbData`. </li>
<li>Form arbeitet immer auf `dbQfq`.</li>
<li>Bei einem MultiDB knallt es jetzt.</li>
</ul>
<p>Des weiteren:</p>
<ul>
<li>Es ist nicht klar warum Report() jede einzelne Query `formAsFile::isFormQuery($sql)` jedes mal vor dem feuern uberprueft, ob eine der Tabellen Form/FormElement vorkommt und falls ja, ein `FormAsFile::importAllForms()` ausfuehrt.</li>
<li>BTW: angenommen 10.sql hat 100 Records, dann wird 10.20.sql hundertmal auf Form/FormElement geprueft und bei Treffer 100 mal alle Forms importiert!</li>
<li>Es kommt zwar super selten vor das Form/FormElement verwendet wird, aber gibt es hier keine bessere Loesung?</li>
<li>Evtl. ist hier das Problem mit der MY Instanz zu suchen, das manchmal alle Formulare verschwunden sind.</li>
</ul> QFQ - Bug #12045 (New): templateGroup afterSave FE: Aufruf ohne sqlHonorFormElements funktioniert...https://project.math.uzh.ch/issues/120452021-02-18T15:01:59ZElias Villiger
<p><strong>Szenario</strong>:<br />templateGroup mit non-native FEs. Zum Speichern der Werte braucht es immer ein afterSave FE mit slaveId, sqlInsert, ...</p>
<p><strong>Beobachtetes Verhalten</strong><br />Wenn beim afterSave FE kein sqlHonorFormElements = sampleColumn%d definiert ist, wird der afterSave Record zwar korrekt oft (z.B. 5x) aufgerufen, jedoch ist %d jedesmal = 1 (bzw. %D = 0), statt inkrementell.</p>
<p><strong>Erwartetes Verhalten</strong><br />Erwartet wäre, dass bei fehlendem sqlHonorFormElements die sqlInsert/Update/Delete statements unabhängig von irgendwelchen TemplateGroup-FE-Werten ausgeführt werden, nur abhängig von der slaveId, wie auch bei anderen afterSave-FEs. Und zwar mit %d = 1, 2, 3, 4, 5, nicht jedesmal = 1.</p> QFQ - Bug #10704 (New): wkhtml problem rendering fullCalendar.js / fabric.js >> successor: puppe...https://project.math.uzh.ch/issues/107042020-06-03T15:26:51ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li><a class="external" href="https://github.com/puppeteer/puppeteer">https://github.com/puppeteer/puppeteer</a></li>
<li>Vergleich: <a class="external" href="https://www.paperplane.app/blog/modern-html-to-pdf-conversion-2019/">https://www.paperplane.app/blog/modern-html-to-pdf-conversion-2019/</a></li>
</ul>
<p>puppeteer hat angeblich ein CLI replacement fuer wkhtml ...</p> QFQ - Bug #10640 (New): TypeAhead Tag: FE editierbar trotz readOnlyhttps://project.math.uzh.ch/issues/106402020-05-25T08:09:04ZStefan Willi
<p>Das FormElement für das TypeAhead Tag bleibt editierbar, wenn man das Fomular im readonly Modus öffnet.</p> QFQ - Bug #10588 (New): typeahed Tag: Doku anpassenhttps://project.math.uzh.ch/issues/105882020-05-15T13:24:44ZCarsten Rosecarsten.rose@math.uzh.ch
<p>SW via RocketChat:<br /><pre>
Ich habe die Tags nun im Mode 'Glue' zum laufen bekommen. Mein Fazit:
1. In der Doku sollte im Beispiel erwähnt sein, wie man neue Tags anlegt. Also typeAheadTagInsert und typeAheadPedantic=0 sollte vermerkt sein.
2. Ich habe es im Mode 'Tag' nicht geschafft.
3. Ist es normal, dass jeweils nur 1 neuer Tag gespeichert wird? Ich hatte den Fall, dass ich 2 neue Tags erstellte und auswählte. Beim Speichern des Formular wurde dann nur der letzte hinzugefügte Tag gespeichert.
PS: Ich arbeite am Montag wieder.
</pre></p> QFQ - Bug #10506 (New): Template Group broken on MultiDB instancehttps://project.math.uzh.ch/issues/105062020-05-07T15:55:41ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Template Groups scheinen nicht zu funktionieren auf 'remoteExam' - evtl. ein Problem mit MultiDB.</p>
<p>Gemeldet von Philipp bei Form 'Exam'.</p> QFQ - Bug #10081 (New): Stale record lock after 'forbidden' characterhttps://project.math.uzh.ch/issues/100812020-02-10T14:30:08ZCarsten Rosecarsten.rose@math.uzh.ch
<ul>
<li>Im LSGZS Form 'ApplicationStatus' liegt FE id: 3474 (myStateJobOffer) nicht auf der Primarytable. </li>
<li>FE.type=SELECT. </li>
<li>itemList='':not yet decided,yes:accept,... - Das erste Element ist ein leerer String.</li>
</ul>
<p>Wird 'not yet decided' ausgewaehlt, gibt es ein Sanatize Violation: allowed character: 0...9, [latin character], @-_.m;: /()".<br />Anschliessend bleibt der Record Lock stehen.</p> QFQ - Bug #9855 (New): Required Checkhttps://project.math.uzh.ch/issues/98552020-01-09T10:28:50ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Bitte fuer alle Input Typen (inkl. 'File'), ueberpruefen das ein Form Save unmoeglich ist (resp. markiert wird), wenn required aktiv ist, das Feld aber leer ist.</p>
<p>Das Attribute 'acceptZeroAsRequired' auch testen.</p>
<p>Bei 'fe.mode=<via dynamic update veraendert>' bitte alle Varianten testen (n=normal, r=required, FL=Form Load, FDU=Form Dynamic Update):<br /><pre>
FL FDU
--------
n n
n r
r n
r r
</pre></p> QFQ - Bug #9173 (New): Stale Record Lock: Firefox https://project.math.uzh.ch/issues/91732019-09-18T21:42:34ZCarsten Rosecarsten.rose@math.uzh.ch
<p>a) Wird mit FF ein Candoc Antrag auf forkred18.math.uzh.ch/forkred wie folgt bearbeitet:</p>
<p>open, modify, save, close, open, modify, close: question 'save?' no > open</p>
<p>dann ist der Record anschliessend gesperrt.</p>
<p>Das Verhalten tritt nicht auf mit Opera. <br />Reproduzierbar mit FF unter Linux und MacOS X.</p>
<p>b) Es kann sein das der Effekt mit einem kleinen Form nicht auftritt.</p> QFQ - Bug #9121 (New): sip links have r and __dbIndexData sethttps://project.math.uzh.ch/issues/91212019-09-13T13:52:57ZNicola Chiapolini
<p>If a link is using SIP, the <code>r=0</code> and <code>__dbIndexData=1</code> are defined even if not specified.</p>
<p>Possible Problems:</p>
<ul>
<li>lazy coders like me do not change the lookup-order, so the r from SIP might hide r from the expected stores (especially when using r inside reused content elements).</li>
<li>if no data is passed on, removing the sip rendering is ok, but one needs to remember to add it back if one adds data later (I use sip for all links)</li>
</ul> QFQ - Bug #9077 (New): typeAheadSql: report broken SQLhttps://project.math.uzh.ch/issues/90772019-09-10T08:27:15ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Status Quo: ist die Query kaputt, gibt es keine Fehlermeldung.</p>
<p>Vorschlag: wenn ein BE User eingeloggt ist wird als Result die Fehlermeldung ausgegeben.</p> QFQ - Bug #7574 (New): Substitute error: form element not reported / dont parse Form.notehttps://project.math.uzh.ch/issues/75742019-01-02T20:29:00ZCarsten Rosecarsten.rose@math.uzh.ch
<p>In einem Formelement im Feld 'note' war eingegeben</p>
<p>'{{formModeGlobal::SE}}'='','close','no') }}</p>
<p>Das fuehrte zu dem Fehlern 'uknown check mode' (es war ein Doppelpunkt zu viel).</p>
<ul>
<li>Es sollte die Spalte (in dem Fall 'note') und das Formularelement ausgegeben werden.</li>
<li>Das Feld 'note' sollte nicht geparst werden - es hat keine Funktion.</li>
</ul> QFQ - Bug #7261 (New): Report pathFilename for user without path, only the filenamehttps://project.math.uzh.ch/issues/72612018-11-15T12:03:52ZCarsten Rosecarsten.rose@math.uzh.ch
<pre>
UniqId:: 5bed603a97486
------------------------------------------------
toUser:: Error reading file: fileadmin/shorttimedata/18m/studentupload/hs18/MAT182/18705293/Worksheet_7/79270.60DA022B_013D_4876_80B0_C78B18454230.jpeg
Timestamp:: 2018.11.15 13:02:02 +0100
Code:: 1300
Message:: Error reading file: fileadmin/shorttimedata/18m/studentupload/hs18/MAT182/18705293/Worksheet_7/79270.60DA022B_013D_4876_80B0_C78B18454230.jpeg
Report level key:: 5.10
Type:: User Form Exception
Form:: my_annotate
Form Element:: 7374 / fabricString / Fabric
current sip:: array (
'__dbIndexData' => '1',
'eSheet' => '78310',
'esId' => '97921',
'form' => 'my_annotate',
'grId' => '183542',
'idExercise' => '184',
'nId' => '79270',
'pIdStudent' => '17519',
'r' => '0',
'splitId' => '0',
's' => '5bed2d4e491fc',
'urlparam' => '__dbIndexData=1&eSheet=78310&esId=97921&form=my_annotate&grId=183542&idExercise=184&nId=79270&pIdStudent=17519&r=0&splitId=0',
)
Page Id:: 11
Content Id:: 9
FE User:: crose
FE User STORE_USER:: stwilli
File:: /var/www/html/my/typo3conf/ext/qfq/qfq/qfq/AbstractBuildForm.php
Line:: 3069
IP Address:: 130.60.188.212
HTTP User Agent:: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Safari/537.36 OPR/56.0.3051.99
QFQ Cookie:: ntllhhm24crodudbb1cfgcukj0
Stacktrace::
#0 /var/www/html/my/typo3conf/ext/qfq/qfq/qfq/AbstractBuildForm.php(712): qfq\AbstractBuildForm->buildAnnotate(Array, 'fabricString-0', '', Array, 'form_load')
#1 /var/www/html/my/typo3conf/ext/qfq/qfq/qfq/AbstractBuildForm.php(269): qfq\AbstractBuildForm->elements('0', 'native_subrecor...', 0, Array, 'flagDynamicUpda...', false, 'FSRVD', 'form_load')
#2 /var/www/html/my/typo3conf/ext/qfq/qfq/qfq/BuildFormBootstrap.php(884): qfq\AbstractBuildForm->process('form_load', false, Array)
#3 /var/www/html/my/typo3conf/ext/qfq/qfq/qfq/QuickFormQuery.php(454): qfq\BuildFormBootstrap->process('form_load')
#4 /var/www/html/my/typo3conf/ext/qfq/qfq/qfq/QuickFormQuery.php(248): qfq\QuickFormQuery->doForm('form_load')
#5 /var/www/html/my/typo3conf/ext/qfq/Classes/Controller/QfqController.php(41): qfq\QuickFormQuery->process()
</pre> QFQ - Bug #7219 (New): typeSheadSql / typeAheadSqlPrefetch: change to curly braceshttps://project.math.uzh.ch/issues/72192018-11-09T07:10:27ZCarsten Rosecarsten.rose@math.uzh.ch
<p>Scheinbar werden 'typeSheadSql' / 'typeAheadSqlPrefetch' ohne Curly Braces definiert. Das ist inkonsequent.</p>
<ul>
<li>Anpassen das alt und neu funktioniert</li>
<li>Doku</li>
</ul> QFQ - Bug #7014 (New): Sending invalid emails succeeds when debug.redirectAllMailTo is sethttps://project.math.uzh.ch/issues/70142018-10-16T14:34:13ZNicola Chiapolini
<p>When <code>debug.redirectAllMailTo</code> is set, mails work without error even if they are sent to invalid mail addresses. <br />This makes spotting problems in development harder. It's probably hard to avoid this, but it might be useful to highlight this downside in the documentation.</p>
<p>(<a class="issue tracker-1 status-5 priority-2 priority-default closed" title="Bug: Messed up query numbering (Closed)" href="https://project.math.uzh.ch/issues/7013">#7013</a> prevented the sending of emails in our latest feature in production. Since the feature sends several identical emails we never noticed the mails with invalid to adresses in development - and it took a while to realize the bug really was present there as well.)</p> 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>